aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 99b21905..fb01edfc 100644
--- a/SConstruct
+++ b/SConstruct
@@ -962,6 +962,10 @@ if env['build_tests'] == 'yes':
env = env.Clone()
env.Append(LIBS = ['cppunit', 'dl', packageVersionedGenericName + '-debug', 'pthread'])
env.Append(LIBPATH=['.'])
+
+ if sys.platform == "mac" or sys.platform == "darwin":
+ env.Append(LIBS = ['iconv', 'gcrypt'])
+
Default(
env.Program(
target = 'run-tests',