fix #2464
This commit is contained in:
parent
babffe08fb
commit
4c07585312
3 changed files with 5 additions and 2 deletions
|
@ -17,6 +17,7 @@ test_env.Append(CPPDEFINES = env['LIBMAPNIK_DEFINES'])
|
|||
if test_env['HAS_CAIRO']:
|
||||
test_env.PrependUnique(CPPPATH=test_env['CAIRO_CPPPATHS'])
|
||||
test_env.Append(CPPDEFINES = '-DHAVE_CAIRO')
|
||||
test_env['LINKFLAGS'] = copy(test_env['LIBMAPNIK_LINKFLAGS'])
|
||||
if env['PLATFORM'] == 'Darwin':
|
||||
test_env.Append(LINKFLAGS='-F/ -framework CoreFoundation')
|
||||
|
||||
|
|
|
@ -102,11 +102,12 @@ lib_env['LIBS'].append(env['ICU_LIB_NAME'])
|
|||
lib_env['LIBS'].append('freetype')
|
||||
|
||||
if env['RUNTIME_LINK'] == 'static':
|
||||
if env['PLATFORM'] == 'Linux':
|
||||
lib_env['LINKFLAGS'].append('-pthread')
|
||||
if 'icuuc' in env['ICU_LIB_NAME']:
|
||||
lib_env['LIBS'].append('icudata')
|
||||
|
||||
if env['PLATFORM'] == 'Linux':
|
||||
lib_env['LINKFLAGS'].append('-pthread')
|
||||
|
||||
if env['RUNTIME_LINK'] != 'static':
|
||||
lib_env['LIBS'].insert(0, 'agg')
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ source = Split(
|
|||
)
|
||||
|
||||
program_env['CXXFLAGS'] = copy(env['LIBMAPNIK_CXXFLAGS'])
|
||||
program_env['LINKFLAGS'] = copy(env['LIBMAPNIK_LINKFLAGS'])
|
||||
program_env.Append(CPPDEFINES = env['LIBMAPNIK_DEFINES'])
|
||||
|
||||
if env['HAS_CAIRO']:
|
||||
|
|
Loading…
Add table
Reference in a new issue