Skip to content

Commit

Permalink
Tests: compile with -lintl on Windows
Browse files Browse the repository at this point in the history
Needed on MSYS2 for the MINGW32 target for some reason.
  • Loading branch information
achadwick committed Jan 12, 2015
1 parent 33a6ce7 commit 28eb0bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/SConscript
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Import('env', 'gegl_env')

import os
import sys

testlib_env = env.Clone()

Expand All @@ -14,6 +15,8 @@ tests_sources = [fn for fn in os.listdir("./") if is_test(fn) and is_csource(fn)
testlib_sources = [fn for fn in os.listdir("./") if not is_test(fn) and is_csource(fn)]

testlib_env.Append(LIBS=['mypaint'])
if sys.platform == 'win32':
testlib_env.Append(LIBS=['intl'])
testlib_env.Append(CPPPATH=['../'], LIBPATH=['../'])

if testlib_env['enable_gperftools']:
Expand Down

0 comments on commit 28eb0bd

Please sign in to comment.