From e7d407d6e3ac0da15f51a470b11bef0fa99b53bf Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 10 Nov 2025 20:21:00 +0100 Subject: [PATCH] We still need libregex for libardour (for now) see b3e4deb32f12303688d8f09448809d59bb43bb11. --- wscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wscript b/wscript index 4b36f23048..e58b794da9 100644 --- a/wscript +++ b/wscript @@ -1227,6 +1227,10 @@ int main () { int x = SFC_RF64_AUTO_DOWNGRADE; return 0; } conf.env.append_value('LIB', 'uuid') # needed for mingw64 packages, not harmful on normal mingw build conf.env.append_value('LIB', 'intl') + conf.check_cc(function_name='regcomp', header_name='regex.h', + lib='regex', uselib_store="REGEX", define_name='HAVE_REGEX_H') + # TODO put this only where it is needed + conf.env.append_value('LIB', 'regex') # TODO this should only be necessary for a debug build conf.env.append_value('LIB', 'dbghelp')