libjson-c: don't build shared host libraries
authorRosen Penev <rosenp@gmail.com>
Tue, 19 Oct 2021 07:54:59 +0000 (00:54 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Nov 2021 20:08:24 +0000 (21:08 +0100)
Avoids having to deal with various rpath hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/libs/libjson-c/Makefile

index 63cc214438977e0cb8a917bca71c59da9de92e12..0f13883a3bdc6e9780cf224f0063f16f65cbf298 100644 (file)
@@ -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