diff options
-rw-r--r-- | package/libs/libjson-c/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index c8a514a147..13cf955960 100644 --- a/package/libs/libjson-c/Makefile +++ b/package/libs/libjson-c/Makefile @@ -27,6 +27,11 @@ include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/cmake.mk +CMAKE_HOST_OPTIONS += \ + -DCMAKE_SKIP_RPATH=FALSE \ + -DCMAKE_MACOSX_RPATH=1 \ + -DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" + define Package/libjson-c SECTION:=libs CATEGORY:=Libraries |