File cafstatic.patch of Package zeek-rc
diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/auxil/broker/3rdparty/caf/CMakeLists.txt +++ b/auxil/broker/3rdparty/caf/CMakeLists.txt @@ -341,7 +341,7 @@ if(MINGW) build_string("EXTRA_FLAGS" "-static") elseif(CYGWIN) build_string("EXTRA_FLAGS" "-U__STRICT_ANSI__") -elseif(NOT CAF_BUILD_STATIC_ONLY) +else() build_string("EXTRA_FLAGS" "-fPIC") endif() if (WIN32)