aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libubox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libubox/Makefile')
-rw-r--r--package/libs/libubox/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile
index 853e4e94c3..a0e75f936c 100644
--- 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))