libGL: dont create shlib symlinks if nvidia is installed.
This commit is contained in:
parent
d17fc8818e
commit
c6d8b5d68a
2 changed files with 7 additions and 5 deletions
|
@ -1,9 +1,11 @@
|
||||||
# Create libGL.so symlinks.
|
# Create libGL.so symlinks.
|
||||||
case ${ACTION} in
|
case ${ACTION} in
|
||||||
post)
|
post)
|
||||||
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
|
if [ ! -e usr/lib/libGL-nvidia.so* ]; then
|
||||||
cd usr/lib
|
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
|
||||||
ln -sf libGL-mesa.so* libGL.so
|
cd usr/lib
|
||||||
ln -sf libGL-mesa.so* libGL.so.1
|
ln -sf libGL-mesa.so* libGL.so
|
||||||
|
ln -sf libGL-mesa.so* libGL.so.1
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'MesaLib'.
|
# Template build file for 'MesaLib'.
|
||||||
pkgname=MesaLib
|
pkgname=MesaLib
|
||||||
version=8.0.4
|
version=8.0.4
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="Mesa-${version}"
|
wrksrc="Mesa-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
|
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
|
||||||
|
|
Loading…
Reference in a new issue