uhttpd: provide rpath-link flag, thanks mazilo
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 7 Nov 2011 00:10:52 +0000 (00:10 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 7 Nov 2011 00:10:52 +0000 (00:10 +0000)
SVN-Revision: 28792

package/uhttpd/Makefile

index 14b1559c31b686f26bbbfe9f4d23ffd045824d05..6285eab9ac5a4f1735b87b151a37bb2ec71c1524 100644 (file)
@@ -92,7 +92,7 @@ endef
 
 
 TARGET_CFLAGS += $(TLS_CFLAGS)
-TARGET_LDFLAGS += $(TLS_LDFLAGS)
+TARGET_LDFLAGS += $(TLS_LDFLAGS) -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 MAKE_VARS += \
        FPIC="$(FPIC)" \
        LUA_SUPPORT="$(if $(CONFIG_PACKAGE_uhttpd-mod-lua),1)" \