2012-11-14 15:07:19 +01:00
|
|
|
# Create libGL and libglx symlinks for catalyst.
|
|
|
|
case ${ACTION} in
|
|
|
|
post)
|
|
|
|
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
|
|
|
|
rm -f usr/lib/xorg/modules/extensions/libglx.so
|
|
|
|
|
|
|
|
# libGL
|
|
|
|
cd usr/lib
|
|
|
|
ln -sf fglrx-libGL.so.1.2 libGL.so
|
|
|
|
ln -sf fglrx-libGL.so.1.2 libGL.so.1
|
|
|
|
|
|
|
|
# libglx
|
|
|
|
cd ../../usr/lib/xorg/modules/extensions
|
2013-02-07 19:25:19 +01:00
|
|
|
ln -sfr ./fglrx/fglrx-libglx.so libglx.so
|
2012-11-14 15:07:19 +01:00
|
|
|
;;
|
|
|
|
esac
|