projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da8e38
)
cmake.mk: disable shared libs for host packages
author
Rosen Penev
<rosenp@gmail.com>
Thu, 26 Sep 2024 23:29:43 +0000
(16:29 -0700)
committer
Robert Marko
<robimarko@gmail.com>
Sun, 6 Oct 2024 20:39:32 +0000
(22:39 +0200)
Disable for host to avoid having to use rpath hacks.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link:
https://github.com/openwrt/openwrt/pull/16586
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/cmake.mk
patch
|
blob
|
history
diff --git
a/include/cmake.mk
b/include/cmake.mk
index 00ade7fd7debc7037e02cb5755f4cffd59c1e434..87309dd0458a82f896b7d821b75e64b7abb52dd7 100644
(file)
--- 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) \
)