[OpenWrt-Devel] Dangerous RPATH in uhttpd, uci, rpcd, ubus

Jo-Philipp Wich jow at openwrt.org
Sun Feb 8 17:08:23 EST 2015


Hi Etienne,

please try the change below (totally untested... just form reading the
cmake manual).

diff --git a/include/cmake.mk b/include/cmake.mk
index 6ab628e..862a6a9 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -61,6 +61,7 @@ define Build/Configure/Default
                        -DCMAKE_INSTALL_PREFIX=/usr \
                        -DDL_LIBRARY=$(STAGING_DIR) \
                        -DCMAKE_PREFIX_PATH=$(STAGING_DIR) \
+                       -DCMAKE_SKIP_RPATH=TRUE  \
                        $(CMAKE_OPTIONS) \
                $(CMAKE_SOURCE_DIR) \
        )


~ Jow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150208/30bd25dd/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list