Browse Source

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

user/amery/mess
Christian Wiese 14 years ago
parent
commit
d5ce87a3d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      xorg/xorg-server/parse-config

+ 1
- 1
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