mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
fix -pthread issue on linux - closes #2132
This commit is contained in:
parent
afb287633b
commit
f8ea04f85f
@ -102,8 +102,11 @@ lib_env['LIBS'].append(env['ICU_LIB_NAME'])
|
||||
|
||||
lib_env['LIBS'].append('freetype')
|
||||
|
||||
if env['RUNTIME_LINK'] == 'static' and 'icuuc' in env['ICU_LIB_NAME']:
|
||||
lib_env['LIBS'].append('icudata')
|
||||
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['RUNTIME_LINK'] != 'static':
|
||||
lib_env['LIBS'].insert(0, 'agg')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user