summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-07 00:10:52 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-07 00:10:52 +0000
commit8189bd926009cb8baf0ef3b5789b3ec502df268e (patch)
tree826bb9d7f406258105d0032bff7e60028e0e7708
parentee875810ebb42843655e6e5f1b0fee5b4f31edb6 (diff)
downloadmtk-20170518-8189bd926009cb8baf0ef3b5789b3ec502df268e.zip
mtk-20170518-8189bd926009cb8baf0ef3b5789b3ec502df268e.tar.gz
mtk-20170518-8189bd926009cb8baf0ef3b5789b3ec502df268e.tar.bz2
uhttpd: provide rpath-link flag, thanks mazilo
SVN-Revision: 28792
-rw-r--r--package/uhttpd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/uhttpd/Makefile b/package/uhttpd/Makefile
index 14b1559..6285eab 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)" \