From 0be62bf9f0e988d2dedc8bebffcdfba239cf4d49 Mon Sep 17 00:00:00 2001 From: Michael Nosthoff Date: Wed, 16 Sep 2020 12:02:11 +0200 Subject: [PATCH] package/pkg-cmake.mk: build host with shared libs CMake offers the BUILD_SHARED_LIBS flag as a default parameter and most packages honor them. Similar to pkg-autotools.mk build host packages always with BUILD_SHARED_LIBS=ON. Signed-off-by: Michael Nosthoff Signed-off-by: Thomas Petazzoni --- package/pkg-cmake.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk index 57bfea9be5..dc545caed9 100644 --- a/package/pkg-cmake.mk +++ b/package/pkg-cmake.mk @@ -146,6 +146,7 @@ define $(2)_CONFIGURE_CMDS -DBUILD_TEST=OFF \ -DBUILD_TESTS=OFF \ -DBUILD_TESTING=OFF \ + -DBUILD_SHARED_LIBS=ON \ $$(CMAKE_QUIET) \ $$($$(PKG)_CONF_OPTS) \ ) -- 2.30.2