Browse Source

xorg-server: fixed to only inject libx11 related linker options at cross-compile stage if libx11 is effectively installed

user/karasz/next/updates
Christian Wiese 15 years ago
parent
commit
d5ce87a3d6
  1. 2
      xorg/xorg-server/parse-config

2
xorg/xorg-server/parse-config

@ -20,6 +20,6 @@ if hasflag X11R6; then
var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/lib64?-L/usr/X11/lib64'
fi
if atstage cross && pkginstalled libx11; then
if atstage cross && pkginstalled -f libx11; then
var_append GCC_WRAPPER_INSERT ' ' "-Wl,-rpath,$(pkgprefix -r libdir libx11)"
fi

Loading…
Cancel
Save