multilib for Ubuntu 12.04
This commit is contained in:
parent
4aef233f2b
commit
81b9877b2e
|
@ -15,7 +15,9 @@ 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.1 /usr/lib/snail/lib32/libnvidia-tls.so" \
|
||||
LD_PRELOAD="/usr/lib/snail/lib32/libGL.so.1
|
||||
/usr/lib/snail/lib32/libnvidia-tls.so
|
||||
/usr/lib/snail/lib32/libnvidia-core.so" \
|
||||
snail.vglrun -d :8293 "$@" 2>/dev/null
|
||||
echo "Application $@ was performed on nVidia"
|
||||
|
||||
|
|
|
@ -231,7 +231,8 @@ case "$DISTRIB_ID" in
|
|||
rm -f /etc/alternatives/i386-linux-gnu_gl_conf
|
||||
ln -sf /usr/lib/i386-linux-gnu/mesa/ld.so.conf /etc/alternatives/i386-linux-gnu_gl_conf
|
||||
ln -sf /usr/lib32/nvidia-current/libGL.so.1 /usr/lib/snail/lib32/libGL.so.1
|
||||
ln -sf /usr/lib32/nvidia-current/libnvidia-tls.so.[0-9][0-9]* /usr/lib/snail/lib32/libnvidia-tls.so
|
||||
ln -sf /usr/lib32/nvidia-current/tls/libnvidia-tls.so.[0-9][0-9]* /usr/lib/snail/lib32/libnvidia-tls.so
|
||||
ln -sf /usr/lib32/nvidia-current/libnvidia-glcore.so.[0-9][0-9]* /usr/lib/snail/lib32/libnvidia-glcore.so
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue