From 904442b9981a2e0bea67c72c849140845e3b79a1 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 19 Oct 2021 00:47:16 -0700 Subject: [PATCH] protobuf-c: don't build shared host library No point and can avoid rpath hacks. Signed-off-by: Rosen Penev (cherry picked from commit 89c2971c6effb3c1b3525cdb26e20c95013f6701) --- libs/protobuf-c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/protobuf-c/Makefile b/libs/protobuf-c/Makefile index 42d48269d..0b88a8a45 100644 --- a/libs/protobuf-c/Makefile +++ b/libs/protobuf-c/Makefile @@ -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"