From: Michael Nosthoff Date: Wed, 16 Sep 2020 10:02:11 +0000 (+0200) Subject: package/pkg-cmake.mk: build host with shared libs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0be62bf9f0e988d2dedc8bebffcdfba239cf4d49;p=buildroot.git 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 --- 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) \ )