mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
fixes for compiling "standalone" C++ scripts
This commit is contained in:
parent
c05d61d6e2
commit
96668ca0d3
4 changed files with 16 additions and 1 deletions
|
@ -412,7 +412,7 @@ static void use_CPP()
|
|||
}
|
||||
}
|
||||
|
||||
if ( num_used == 0 )
|
||||
if ( num_used == 0 && standalone_activations.empty() )
|
||||
reporter->FatalError("no C++ functions found to use");
|
||||
|
||||
// Now that we've loaded all of the compiled scripts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue