Skip to content

Commit

Permalink
nvidia_current: Create /usr/lib symlinks for all libs
Browse files Browse the repository at this point in the history
Create symlinks in /usr/lib for all versioned libraries.
  • Loading branch information
donald committed May 2, 2019
1 parent 0752e65 commit 6292f32
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nvidia_current-418.56-0.bee
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ mee_install() {
#bee_install

mkdir -pv ${D}${PREFIX}/{bin,lib,drivers,share}
mkdir -pv ${D}/usr/lib

NVDRV="nvidia_drv.so"

Expand All @@ -51,6 +52,7 @@ mee_install() {

for i in lib*.so.$PKGVERSION; do
install -v -t ${D}${LIBDIR} "$i"
ln -sv "${LIBDIR}/$i" ${D}/usr/lib/
if soname="$(soname "$i")"; then
test -e "${D}${LIBDIR}/${soname}" || ln -sv "$i" "${D}${LIBDIR}/${soname}"
fi
Expand All @@ -66,10 +68,4 @@ mee_install() {
install -v -c -m 755 ${i} ${D}${BINDIR}
install -v -c -m 644 ${i}.1.gz ${D}/usr/share/man/man1
done

mkdir -pv ${D}/usr/lib

for i in tls glcore compiler gtk2 gtk3 fatbinaryloader; do
ln -vs ${LIBDIR}/libnvidia-${i}.so.${PKGVERSION} ${D}/usr/lib
done
}

0 comments on commit 6292f32

Please sign in to comment.