always link pthread on linux
This commit is contained in:
parent
d8358ffdd5
commit
f0936f2672
1 changed files with 3 additions and 2 deletions
|
@ -103,11 +103,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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue