mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Make dependency of zeek
on spicy-plugin's driver object file explicit.
For generators like Makefile the implicit dependency would not have been apparent to `make` which could have lead to build failures (depending on the way targets were scheduled). This patch makes the dependency explicit so it can be enforced. Closes #2586.
This commit is contained in:
parent
ec3eca0549
commit
b94c8bc91b
1 changed files with 4 additions and 0 deletions
|
@ -863,6 +863,10 @@ CheckOptionalBuildSources(auxil/zeek-archiver ZeekArchiver INSTALL_ZEEK_ARCHIVER
|
|||
CheckOptionalBuildSources(auxil/zeek-client ZeekClient INSTALL_ZEEK_CLIENT)
|
||||
|
||||
if ( NOT DISABLE_SPICY )
|
||||
# The `zeek` binary implicitly depends on the driver object file built
|
||||
# as part of `spicy`; make that dependency explicit.
|
||||
add_dependencies(zeek spicyz)
|
||||
|
||||
if ( NOT SPICY_ROOT_DIR )
|
||||
list(APPEND _spicy_rt_libs spicy-rt hilti-rt)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue