append rpath-link flag to linker flags
authorMirko Vogt <mirko@openwrt.org>
Sat, 4 Dec 2010 22:04:25 +0000 (22:04 +0000)
committerMirko Vogt <mirko@openwrt.org>
Sat, 4 Dec 2010 22:04:25 +0000 (22:04 +0000)
SVN-Revision: 24254

Xorg/xorg/app/fontconfig/Makefile

index 6bccfb1448e3e757a8052d126f27ffc94381f0cc..5a5b3697ada4ac3e4f67230a165da36207abc785 100644 (file)
@@ -36,6 +36,8 @@ CONFIGURE_ARGS+= \
 CONFIGURE_VARS+= \
        ac_cv_prog_HASDOCBOOK=no \
 
+TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+
 define Build/Compile
        $(foreach dir,fc-arch fc-case fc-lang fc-glyphname, \
                $(MAKE) -C $(PKG_BUILD_DIR)/$(dir) CFLAGS="$(HOST_CFLAGS)"  \