diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-06 14:58:10 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:45:04 -0500 |
commit | 09b8d2a7e510ccfe285ec29dd8a396f98930d9f2 (patch) | |
tree | 2c26b37a6c256db02e6f2e58ec4eb0bf00eae2ea /system/nvidia-legacy304-driver/nvidia-switch | |
parent | 221b67b99d0f36f97ecba5b3f226bbe35898023a (diff) |
system/nvidia-legacy304-driver: No libGL.la, fix for gcc >= 10.x
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy304-driver/nvidia-switch')
-rw-r--r-- | system/nvidia-legacy304-driver/nvidia-switch | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/system/nvidia-legacy304-driver/nvidia-switch b/system/nvidia-legacy304-driver/nvidia-switch index 4ac2648e9cb6d..7f718f42e51fd 100644 --- a/system/nvidia-legacy304-driver/nvidia-switch +++ b/system/nvidia-legacy304-driver/nvidia-switch @@ -48,22 +48,18 @@ save_GL(){ if [ "$1" = "nvidia" ]; then if [ ! -e libGL.so.$GL_VERSION-xorg ]; then mv libGL.so.$GL_VERSION libGL.so.$GL_VERSION-xorg - mv libGL.la libGL.la-xorg fi mv libGL.so.$NV_VERSION-nvidia libGL.so.$NV_VERSION ln -sf libGL.so.$NV_VERSION libGL.so.1 ln -sf libGL.so.$NV_VERSION libGL.so - mv libGL.la-nvidia libGL.la fi if [ "$1" = "xorg" ]; then mv libGL.so.$NV_VERSION libGL.so.$NV_VERSION-nvidia - mv libGL.la libGL.la-nvidia if [ -e libGL.so.$GL_VERSION-xorg ]; then mv libGL.so.$GL_VERSION-xorg libGL.so.$GL_VERSION ln -sf libGL.so.$GL_VERSION libGL.so.1 ln -sf libGL.so.$GL_VERSION libGL.so - mv libGL.la-xorg libGL.la else echo WARNING: libGL.so.$GL_VERSION is missing. fi |