xorg-server: drop -Wl,-z,now completely to force lazy symbol loading.

This commit is contained in:
Juan RP 2015-12-17 15:31:08 +01:00
parent 54857e4d04
commit 90c5deac82

View file

@ -1,7 +1,7 @@
# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.18.0
revision=4
revision=5
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-record --enable-xorg
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
@ -55,10 +55,6 @@ 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)
@ -66,6 +62,9 @@ pre_configure() {
sed -i -e 's/termio.h/termios.h/' hw/xfree86/os-support/xf86_OSlib.h
;;
esac
# Symbols must be resolved lazily for modules to work.
# See https://bugs.freedesktop.org/show_bug.cgi?id=41208#c5
export LDFLAGS="${LDFLAGS//-Wl,-z,now/}"
}
post_install() {
case "$XBPS_TARGET_MACHINE" in