Skip to content

Commit

Permalink
cmake.mk: disable shared libs for host packages
Browse files Browse the repository at this point in the history
Disable for host to avoid having to use rpath hacks.

Signed-off-by: Rosen Penev <[email protected]>
Link: openwrt#16586
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
neheb authored and robimarko committed Oct 6, 2024
1 parent 3da8e38 commit c80792e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/cmake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
)
Expand Down

0 comments on commit c80792e

Please sign in to comment.