only link to bz2 if were linking statically
This commit is contained in:
parent
90acfb3e1c
commit
b57a079a38
1 changed files with 6 additions and 5 deletions
|
@ -1073,6 +1073,7 @@ if not preconfigured:
|
|||
conf.parse_config('FREETYPE_CONFIG')
|
||||
|
||||
# check if freetype links to bz2
|
||||
if env['RUNTIME_LINK'] == 'static':
|
||||
temp_env = env.Clone()
|
||||
temp_env['LIBS'] = []
|
||||
temp_env.ParseConfig('%s --libs' % env['FREETYPE_CONFIG'])
|
||||
|
|
Loading…
Reference in a new issue