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',