mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Introduce --enable-static-broker configuration option.
This option will build the bundled broker (and caf) statically.
This commit is contained in:
parent
5249a16384
commit
f7ad94f757
3 changed files with 13 additions and 2 deletions
|
@ -271,9 +271,16 @@ if ( BROKER_ROOT_DIR )
|
||||||
set(brodeps ${brodeps} ${BROKER_LIBRARY} ${CAF_LIBRARIES})
|
set(brodeps ${brodeps} ${BROKER_LIBRARY} ${CAF_LIBRARIES})
|
||||||
include_directories(BEFORE ${BROKER_INCLUDE_DIR})
|
include_directories(BEFORE ${BROKER_INCLUDE_DIR})
|
||||||
else ()
|
else ()
|
||||||
|
if ( BUILD_STATIC_BROKER )
|
||||||
|
set(ENABLE_STATIC_ONLY true)
|
||||||
|
endif()
|
||||||
add_subdirectory(aux/broker)
|
add_subdirectory(aux/broker)
|
||||||
|
|
||||||
|
if ( BUILD_STATIC_BROKER )
|
||||||
|
set(brodeps ${brodeps} broker_static)
|
||||||
|
else()
|
||||||
set(brodeps ${brodeps} broker)
|
set(brodeps ${brodeps} broker)
|
||||||
|
endif()
|
||||||
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/aux/broker
|
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/aux/broker
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/aux/broker)
|
${CMAKE_CURRENT_BINARY_DIR}/aux/broker)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0e7218b4abd98530fbea54d546f7bf99535e2127
|
Subproject commit bf03a4246113c72d10530cc0c2729a3fa6f0b046
|
4
configure
vendored
4
configure
vendored
|
@ -52,6 +52,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
--enable-perftools-debug use Google's perftools for debugging
|
--enable-perftools-debug use Google's perftools for debugging
|
||||||
--enable-jemalloc link against jemalloc
|
--enable-jemalloc link against jemalloc
|
||||||
--enable-broccoli build or install the Broccoli library (deprecated)
|
--enable-broccoli build or install the Broccoli library (deprecated)
|
||||||
|
--enable-static-broker build broker statically (ignored if --with-broker is specified)
|
||||||
--disable-broctl don't install Broctl
|
--disable-broctl don't install Broctl
|
||||||
--disable-auxtools don't build or install auxiliary tools
|
--disable-auxtools don't build or install auxiliary tools
|
||||||
--disable-perftools don't try to build with Google Perftools
|
--disable-perftools don't try to build with Google Perftools
|
||||||
|
@ -223,6 +224,9 @@ while [ $# -ne 0 ]; do
|
||||||
append_cache_entry DISABLE_RUBY_BINDINGS BOOL true
|
append_cache_entry DISABLE_RUBY_BINDINGS BOOL true
|
||||||
append_cache_entry INSTALL_BROCCOLI BOOL yes
|
append_cache_entry INSTALL_BROCCOLI BOOL yes
|
||||||
;;
|
;;
|
||||||
|
--enable-static-broker)
|
||||||
|
append_cache_entry BUILD_STATIC_BROKER BOOL true
|
||||||
|
;;
|
||||||
--disable-broctl)
|
--disable-broctl)
|
||||||
append_cache_entry INSTALL_BROCTL BOOL false
|
append_cache_entry INSTALL_BROCTL BOOL false
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue