xorg-server: force -Wl,-z,lazy to make lazy symbol loading work again.

See https://bugs.freedesktop.org/show_bug.cgi?id=41208#c5
for more information.
This commit is contained in:
Juan RP 2015-12-17 14:58:00 +01:00
parent dc9e436c71
commit adab30b92b

View file

@ -1,7 +1,7 @@
# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.18.0
revision=3
revision=4
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-record --enable-xorg
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
@ -55,6 +55,10 @@ esac
conf_files="/etc/X11/Xwrapper.config"
# Symbols must be resolved lazily for modules to work.
# See https://bugs.freedesktop.org/show_bug.cgi?id=41208#c5
LDFLAGS="-Wl,-z,lazy"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl)