From: Rosen Penev Date: Thu, 26 Sep 2024 23:29:43 +0000 (-0700) Subject: cmake.mk: disable shared libs for host packages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c80792e666f9a1f40d7b4b846874cdd66d22bd95;p=openwrt%2Fstaging%2Fansuel.git cmake.mk: disable shared libs for host packages Disable for host to avoid having to use rpath hacks. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16586 Signed-off-by: Robert Marko --- diff --git a/include/cmake.mk b/include/cmake.mk index 00ade7fd7d..87309dd045 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -174,6 +174,7 @@ define Host/Configure/Default -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=TRUE \ -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=FALSE \ -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=TRUE \ + -DBUILD_SHARED_LIBS=OFF \ $(CMAKE_HOST_OPTIONS) \ $(HOST_CMAKE_SOURCE_DIR) \ )