From 3d6e25dd3295347546d1e9cfb3249563e59350f9 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 19 Oct 2021 00:54:59 -0700 Subject: [PATCH] libjson-c: don't build shared host libraries Avoids having to deal with various rpath hacks. Signed-off-by: Rosen Penev --- package/libs/libjson-c/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index 63cc21443897..0f13883a3bdc 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 -- 2.30.2