void-packages/srcpkgs/catalyst/INSTALL

16 lines
367 B
Text

# 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
ln -sfr ./fglrx/fglrx-libglx.so libglx.so
;;
esac