Commit eec2deca authored by Roland Singer's avatar Roland Singer

updated to new libGL symlink targets

parent 8b7a83fe
......@@ -169,13 +169,13 @@ fi
# Set libGl and libglx
if [ "${SETGL}" == "mesa" ] || [ "${SETGL}" == "default" ]; then
set_modules
set_Gl "/usr/lib/libGL.so.mesa" "/usr/lib/xorg/modules/extensions/libglx.xorg" "/usr/lib32/libGL.so.mesa"
set_Gl "/usr/lib/mesa-libGL.so.1.2.0" "/usr/lib/xorg/modules/extensions/libglx.xorg" "/usr/lib32/mesa-libGL.so.1.2.0"
elif [ "${SETGL}" == "nvidia" ]; then
set_modules "nvidia" "nouveau ttm drm_kms_helper drm"
set_Gl "/usr/lib/libGL.so.nvidia" "/usr/lib/xorg/modules/extensions/libglx.so.nvidia" "/usr/lib32/libGL.so.nvidia"
set_Gl "/usr/lib/nvidia/libGL.so" "/usr/lib/nvidia/xorg/modules/extensions/libglx.so" "/usr/lib32/nvidia/libGL.so"
elif [ "${SETGL}" == "catalyst" ] || [ "${SETGL}" == "ati" ]; then
set_modules "fglrx" "radeon"
set_Gl "/usr/lib/libGL.so.catalyst" "/usr/lib/xorg/modules/extensions/libglx.so.catalyst" "/usr/lib32/libGL.so.catalyst"
set_Gl "/usr/lib/fglrx/libGL.so" "/usr/lib/fglrx/xorg/modules/extensions/libglx.so" "/usr/lib32/fglrx/libGL.so"
elif [ "${SETGL}" != "" ]; then
echo "error: invalid argument '${SETGL}'"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment