From: Jo-Philipp Wich Date: Mon, 7 Nov 2011 00:10:52 +0000 (+0000) Subject: [package] uhttpd: provide rpath-link flag, thanks mazilo X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=40ddfedb45be52e8bbf39bb2af2b300fc151d3fa [package] uhttpd: provide rpath-link flag, thanks mazilo SVN-Revision: 28792 --- 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)" \