aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2010-05-20 10:00:19 +0000
committerVincent Richard <[email protected]>2010-05-20 10:00:19 +0000
commit62845e4ce71963765287ad281a2b5954488ef3a7 (patch)
tree5ae38f09cd67bfdaa7d9ad4de7718d8d6e6c3e63
parentFixed type size. (diff)
downloadvmime-62845e4ce71963765287ad281a2b5954488ef3a7.tar.gz
vmime-62845e4ce71963765287ad281a2b5954488ef3a7.zip
Fixed unit tests build on OSX.
-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',