From c55ed19e4eacb472aef89db9e9c0e048c168c53f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 18 Dec 2014 08:33:27 +0000 Subject: Fix compilation on OSX. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5501 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 4070c03..69a2219 100644 --- a/wscript +++ b/wscript @@ -102,8 +102,10 @@ def build(bld): framework = ' CoreServices ' if bld.env.BUILD_TESTS: - test_libs = ['pthread', 'rt'] + test_libs = ['pthread'] test_cxxflags = [] + if bld.env.DEST_OS != 'darwin' and bld.env.DEST_OS != 'win32': + test_libs += ['rt'] if bld.is_defined('HAVE_GCOV'): test_libs += ['gcov'] test_cxxflags += ['-fprofile-arcs', '-ftest-coverage'] -- cgit v1.2.1