aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-driver/nvidia-switch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-07 19:59:53 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:45:05 -0500
commit22a8481c4b1a8eba3ca2800d7c1bf3459fe38d7c (patch)
tree006394e1d19d6079de145ccd06f97f5e242b0e68 /system/nvidia-legacy390-driver/nvidia-switch
parent9953be387c92c1dceff7cf4898c0563b998b091b (diff)
system/nvidia-legacy390-driver: Use libtirpc, no libGL.la.
Pass -fcommon for gcc >= 10.x Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy390-driver/nvidia-switch')
-rw-r--r--system/nvidia-legacy390-driver/nvidia-switch2
1 files changed, 0 insertions, 2 deletions
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