zeek/auxil/vcpkg/ports/botan/0009-fix-regression-f2bf049-85491b3.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

14 lines
610 B
Diff

diff --git a/configure.py b/configure.py
index fcf9e7e..c0f72df 100755
--- a/configure.py
+++ b/configure.py
@@ -2351,6 +2351,8 @@ def create_template_vars(source_paths, build_paths, options, modules, disabled_m
# just transfer them over to just the compiler invocations
variables['cc_compile_flags'] = '%s %s' % (variables['cxx_abi_flags'], variables['cc_compile_flags'])
variables['cxx_abi_flags'] = ''
+ else:
+ variables['ldflags'] = '%s %s' % (variables['ldflags'], variables['cc_compile_flags'])
variables['lib_flags'] = cc.gen_lib_flags(options, variables)