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

Etienne Champetier champetier.etienne at gmail.com
Mon Feb 9 02:49:13 EST 2015


Hi

2015-02-08 23:08 GMT+01:00 Jo-Philipp Wich <jow at openwrt.org>:

> 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
>
>
> r44328 is fixing this bug
Thanks for your fast response
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150209/3547fc1d/attachment.htm>
-------------- 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