[packages/fontconfig] 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 6bccfb1..5a5b369 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)"  \