protobuf-c: don't build shared host library
authorRosen Penev <rosenp@gmail.com>
Tue, 19 Oct 2021 07:47:16 +0000 (00:47 -0700)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 3 Jun 2022 14:31:14 +0000 (16:31 +0200)
No point and can avoid rpath hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 89c2971c6effb3c1b3525cdb26e20c95013f6701)

libs/protobuf-c/Makefile

index 42d48269dc0506f3370cb996f025bda71810c43c..0b88a8a4521827d9e7f8cc91152abf6b69d5dacc 100644 (file)
@@ -47,7 +47,7 @@ define Package/libprotobuf-c/description
 endef
 
 CMAKE_HOST_OPTIONS += \
-       -DBUILD_SHARED_LIBS=ON \
+       -DBUILD_SHARED_LIBS=OFF \
        -DCMAKE_CXX_STANDARD=11 \
        -DCMAKE_SKIP_RPATH=OFF \
        -DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOSTPKG}/lib"