summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 00:10:52 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 00:10:52 +0000
commit0920594b94d2449dbef5c95ea3fea1b193195286 (patch)
treeec80a02f613ec329069f2cf01449007ecf0aa48f
parentab435ac770f4cf3341de2c670d6aa47459c7f001 (diff)
[package] uhttpd: provide rpath-link flag, thanks mazilo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28792 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/uhttpd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/uhttpd/Makefile b/package/uhttpd/Makefile
index 14b1559c31..6285eab9ac 100644
--- a/package/uhttpd/Makefile
+++ b/package/uhttpd/Makefile
@@ -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)" \