projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2791e8
)
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
Jo-Philipp Wich
<jo@mein.io>
Tue, 14 Aug 2018 21:54:59 +0000
(23:54 +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>
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))