Gentoo lib32 symlinks changed
This commit is contained in:
parent
21cddd9d2b
commit
2b98295e12
|
@ -15,14 +15,15 @@ FIFO_FILE=/tmp/.snail.fifo
|
|||
if [ 0 -eq $? ]; then
|
||||
echo "Running $@ on nVidia"
|
||||
export LD_LIBRARY_PATH=/usr/lib/snail
|
||||
LD_PRELOAD="/usr/lib/snail/lib32/libGL.so /usr/lib/snail/lib32/libnvidia-tls.so" \
|
||||
LD_PRELOAD="/usr/lib/snail/lib32/libGL.so.1 /usr/lib/snail/lib32/libnvidia-tls.so" \
|
||||
snail.vglrun -d :8293 "$@" 2>/dev/null
|
||||
echo "Application $@ was performed on nVidia"
|
||||
|
||||
elif [ 0 -ne $INTEL_IF_FAIL ]; then
|
||||
echo "Running $@ on Intel"
|
||||
"$@"
|
||||
echo "Application $@ was performed on Intel"
|
||||
echo "Failed to run $@ on nVidia ;-("
|
||||
# echo "Running $@ on Intel"
|
||||
# "$@"
|
||||
# echo "Application $@ was performed on Intel"
|
||||
fi
|
||||
|
||||
flock -u 9
|
||||
|
|
|
@ -118,12 +118,12 @@ case "$DISTRIB_ID" in
|
|||
done;
|
||||
done
|
||||
ln -sf /usr/lib/opengl/nvidia/lib/libGL.so.[0-9][0-9]* /usr/lib/snail/libGL.so.1
|
||||
ln -sf /usr/lib32/opengl/nvidia/lib/libGL.so.[0-9][0-9]* /usr/lib/snail/lib32/libGL.so
|
||||
ln -sf /usr/lib32/opengl/nvidia/lib/libGL.so.1 /usr/lib/snail/lib32/libGL.so.1
|
||||
ln -sf /usr/lib/xorg/modules/libfb.so /usr/lib/snail/libfb.so
|
||||
ln -sf /usr/lib/xorg/modules/libwfb.so /usr/lib/snail/libwfb.so
|
||||
ln -sf /usr/lib/opengl/nvidia/extensions/libglx.so.[0-9][0-9]* /usr/lib/snail/libglx.so
|
||||
ln -sf /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.[0-9][0-9]* /usr/lib/snail/
|
||||
ln -sf /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.[0-9][0-9]* /usr/lib/snail/lib32/libnvidia-tls.so
|
||||
ln -sf /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so /usr/lib/snail/lib32/libnvidia-tls.so
|
||||
ln -sf /usr/lib/xorg/modules/drivers/nvidia_drv.so /usr/lib/snail/nvidia_drv.so
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue