[package] 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 14b1559..6285eab 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)" \