diff options
author | David Robillard <d@drobilla.net> | 2019-10-17 14:56:07 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-17 14:56:07 +0200 |
commit | 54948d111305314fbab01d051209e16750a120a7 (patch) | |
tree | 1817819fcca8adea8c0cad6d02b0689b0b608e91 | |
parent | ee5cfcfaf9b7dd66c6eed72c538c8fbe599711c4 (diff) | |
download | lv2-54948d111305314fbab01d051209e16750a120a7.tar.xz |
Don't link against librt on Windows or Darwin
-rw-r--r-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -230,9 +230,11 @@ def build_spec(bld, path): test_cflags = [''] test_linkflags = [''] if bld.is_defined('HAVE_GCOV'): - test_lib += ['gcov', 'rt'] + test_lib += ['gcov'] test_cflags += ['--coverage'] test_linkflags += ['--coverage'] + if bld.env.DEST_OS not in ['darwin', 'win32']: + test_lib += ['rt'] # Unit test program bld(features = 'c cprogram', |