Browse Source

xorg-server: improved cross compilation by passing -rpath pointing to libx11's libdir

user/karasz/test/ecn
Alejandro Mery 15 years ago committed by Alejandro Mery
parent
commit
f4ff538f88
  1. 6
      xorg/xorg-server/parse-config

6
xorg/xorg-server/parse-config

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../xorg-server/parse-config
# Copyright (C) 2009 The OpenSDE Project
# Copyright (C) 2009 - 2010 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -19,3 +19,7 @@ if hasflag X11R6; then
var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/lib?-L/usr/X11/lib'
var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/lib64?-L/usr/X11/lib64'
fi
if atstage cross && pkginstalled libx11; then
var_append GCC_WRAPPER_INSERT ' ' "-Wl,-rpath,$(pkgprefix -r libdir libx11)"
fi

Loading…
Cancel
Save