2012-11-14 14:07:19 +00: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 18:25:19 +00:00
|
|
|
ln -sfr ./fglrx/fglrx-libglx.so libglx.so
|
2012-11-14 14:07:19 +00:00
|
|
|
;;
|
|
|
|
esac
|