[openwrt/openwrt] libjson-c: don't build shared host libraries

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 20 12:08:53 PST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3d6e25dd3295347546d1e9cfb3249563e59350f9

commit 3d6e25dd3295347546d1e9cfb3249563e59350f9
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Tue Oct 19 00:54:59 2021 -0700

    libjson-c: don't build shared host libraries
    
    Avoids having to deal with various rpath hacks.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 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 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



More information about the lede-commits mailing list