# Create libglx-xorg.so libglx.so symlink for Mesa.
case ${ACTION} in
post)
	if [ -d usr/lib/xorg/modules/extensions -a ! -e usr/lib/xorg/modules/extensions/libglx.so ]; then
		cd usr/lib/xorg/modules/extensions
		ln -sf libglx-xorg.so libglx.so
	fi
	;;
esac
