projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456f883
)
libubox: set RPATH for host build
author
Jo-Philipp Wich
<jo@mein.io>
Tue, 14 Aug 2018 21:54:59 +0000
(23:54 +0200)
committer
Matthias Schiffer
<mschiffer@universe-factory.net>
Mon, 3 Sep 2018 22:09:03 +0000
(
00:09
+0200)
This is required for programs that indirectly link libjson-c through the
libubox blobmsg_json library.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
5762efd8b29d68e219fc9d00b681269727cbf5d5
)
package/libs/libubox/Makefile
patch
|
blob
|
history
diff --git
a/package/libs/libubox/Makefile
b/package/libs/libubox/Makefile
index 853e4e94c3c0acdd3e40d67fb5f4b7cba45b8b86..a0e75f936c95d6ba92cc5c92e7fa08040f084426 100644
(file)
--- a/
package/libs/libubox/Makefile
+++ b/
package/libs/libubox/Makefile
@@
-97,6
+97,9
@@
endef
CMAKE_HOST_OPTIONS += \
-DBUILD_LUA=OFF \
-DBUILD_EXAMPLES=OFF \
+ -DCMAKE_SKIP_RPATH=FALSE \
+ -DCMAKE_MACOSX_RPATH=1 \
+ -DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
$(eval $(call BuildPackage,libubox))
$(eval $(call BuildPackage,libblobmsg-json))