Fix building unit-tests on macOS

This commit is contained in:
Robin Gareus
2022-09-28 23:05:56 +02:00
parent dc90ec4e33
commit 2d6e5d4638

View File

@@ -101,6 +101,8 @@ def build(bld):
obj.linkflags = ['--coverage']
obj.cflags = ['--coverage']
obj.cxxflags = ['--coverage']
if bld.is_defined('NEED_INTL'):
obj.linkflags = ' -lintl'
def test(ctx):
autowaf.pre_test(ctx, APPNAME)