append rpath-link line to linker flags
authorMirko Vogt <mirko@openwrt.org>
Sat, 4 Dec 2010 22:03:59 +0000 (22:03 +0000)
committerMirko Vogt <mirko@openwrt.org>
Sat, 4 Dec 2010 22:03:59 +0000 (22:03 +0000)
SVN-Revision: 24250

libs/gnutls/Makefile

index a3c554937e7bb0a91c1ce5918123ab698ffec81f..e38f537f1893157ddb0b2c7f1f109261047ec402 100644 (file)
@@ -118,6 +118,7 @@ MAKE_FLAGS:= \
        AM_CFLAGS="" \
 
 TARGET_CFLAGS += $(FPIC)
+TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 
 define Build/Configure
        $(SED) 's,-I$$$${includedir},,g' $(PKG_BUILD_DIR)/configure