diff options
author | nia <nia@netbsd.org> | 2020-02-12 04:03:08 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-26 09:39:44 -0600 |
commit | 9be75befbea53bd43ae4125f2f77f891b8df808b (patch) | |
tree | 037abe1ecb3f93a0986f3af548a1c9db99a2cac2 /wscript | |
parent | b490100c1b110509cd66c7d14db703f2e81c87d9 (diff) |
Add support for NetBSD by generalizing BSD OS tests.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -656,7 +656,7 @@ int main() { return 0; }''', if opt.stl_debug: cxx_flags.append("-D_GLIBCXX_DEBUG") - if re.search ("freebsd", sys.platform) != None or re.search ("openbsd", sys.platform) != None: + if re.search ("bsd", sys.platform) != None: linker_flags.append('-lexecinfo') if conf.env['DEBUG_RT_ALLOC']: @@ -1059,7 +1059,7 @@ def configure(conf): # executing a test program is n/a when cross-compiling if Options.options.dist_target != 'mingw': - if Options.options.dist_target != 'msvc' and re.search ("openbsd", sys.platform) == None: + if Options.options.dist_target != 'msvc' and re.search ("(open|net)bsd", sys.platform) == None: if re.search ("freebsd", sys.platform) != None: conf.check_cc( msg="Checking for function 'dlopen' in dlfcn.h", |