From: Rosen Penev Date: Tue, 19 Oct 2021 07:54:59 +0000 (-0700) Subject: libjson-c: don't build shared host libraries X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3d6e25dd3295347546d1e9cfb3249563e59350f9;p=openwrt%2Fstaging%2Fxback.git libjson-c: don't build shared host libraries Avoids having to deal with various rpath hacks. Signed-off-by: Rosen Penev --- diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index 63cc214438..0f13883a3b 100644 --- a/package/libs/libjson-c/Makefile +++ b/package/libs/libjson-c/Makefile @@ -27,9 +27,7 @@ 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" + -DBUILD_SHARED_LIBS=FALSE define Package/libjson-c SECTION:=libs