Fixed unit tests build on OSX.
This commit is contained in:
parent
ac1da379eb
commit
62845e4ce7
@ -962,6 +962,10 @@ if env['build_tests'] == 'yes':
|
|||||||
env = env.Clone()
|
env = env.Clone()
|
||||||
env.Append(LIBS = ['cppunit', 'dl', packageVersionedGenericName + '-debug', 'pthread'])
|
env.Append(LIBS = ['cppunit', 'dl', packageVersionedGenericName + '-debug', 'pthread'])
|
||||||
env.Append(LIBPATH=['.'])
|
env.Append(LIBPATH=['.'])
|
||||||
|
|
||||||
|
if sys.platform == "mac" or sys.platform == "darwin":
|
||||||
|
env.Append(LIBS = ['iconv', 'gcrypt'])
|
||||||
|
|
||||||
Default(
|
Default(
|
||||||
env.Program(
|
env.Program(
|
||||||
target = 'run-tests',
|
target = 'run-tests',
|
||||||
|
Loading…
Reference in New Issue
Block a user