diff options
Diffstat (limited to 'system/nvidia-legacy390-driver')
-rw-r--r-- | system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild | 2 | ||||
-rw-r--r-- | system/nvidia-legacy390-driver/nvidia-switch | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild b/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild index b984a3258053b..5e7b6ea665f0e 100644 --- a/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild +++ b/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild @@ -373,7 +373,7 @@ if [ "${PERSISTENCED:-no}" = "yes" ]; then \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - CFLAGS="$SLKCFLAGS" make + CFLAGS="$SLKCFLAGS -I/usr/include/tirpc -Wl,-ltirpc" make install -m 755 _out/Linux_$TARGET/nvidia-persistenced $PKG/usr/bin/ install -m 644 _out/Linux_$TARGET/nvidia-persistenced.1.gz $PKG/usr/man/man1/ diff --git a/system/nvidia-legacy390-driver/nvidia-switch b/system/nvidia-legacy390-driver/nvidia-switch index 2f57366cfdbb2..5ea8a5c1c8c64 100644 --- a/system/nvidia-legacy390-driver/nvidia-switch +++ b/system/nvidia-legacy390-driver/nvidia-switch @@ -67,11 +67,9 @@ save_GL(){ if [ "$GLVND" = "yes" ]; then mv libGL.so.$GL_VERSION $SAVELIBS - mv libGL.la $SAVELIBS mv libEGL.so.1.?.0 $SAVELIBS mv libGLESv1_CM.so.1.1.0 $SAVELIBS mv libGLESv2.so.2.0.0 $SAVELIBS - mv libGL.la-nvidia libGL.la ln -sf libGL.so.1.7.0-nvidia libGL.so.1 ln -sf libGL.so.1 libGL.so ln -sf libEGL.so.1.1.0-nvidia libEGL.so.1.1.0 |