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.
|
||||
case ${ACTION} in
|
||||
post)
|
||||
if [ ! -e usr/lib/libGL-nvidia.so* ]; then
|
||||
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
|
||||
cd usr/lib
|
||||
ln -sf libGL-mesa.so* libGL.so
|
||||
ln -sf libGL-mesa.so* libGL.so.1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'MesaLib'.
|
||||
pkgname=MesaLib
|
||||
version=8.0.4
|
||||
revision=4
|
||||
revision=5
|
||||
wrksrc="Mesa-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
|
||||
|
|
Loading…
Reference in a new issue