From: jow Date: Mon, 7 Nov 2011 00:10:52 +0000 (+0000) Subject: [package] uhttpd: provide rpath-link flag, thanks mazilo X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/0920594b94d2449dbef5c95ea3fea1b193195286 [package] uhttpd: provide rpath-link flag, thanks mazilo git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28792 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/uhttpd/Makefile b/package/uhttpd/Makefile index 14b1559c3..6285eab9a 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)" \