From 62845e4ce71963765287ad281a2b5954488ef3a7 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 20 May 2010 10:00:19 +0000 Subject: [PATCH] Fixed unit tests build on OSX. --- SConstruct | 4 ++++ 1 file changed, 4 insertions(+) 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',