Fixed unit tests build on OSX.

This commit is contained in:
Vincent Richard 2010-05-20 10:00:19 +00:00
parent ac1da379eb
commit 62845e4ce7

View File

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