fix linking order

- harfbuzz depends on icu so icu needs to come last on linker line
This commit is contained in:
Dane Springmeyer 2014-05-06 18:35:48 -07:00
parent da0906a19d
commit e565f43ebc

View File

@ -43,19 +43,18 @@
'libraries': [
'-lboost_system',
'-lboost_filesystem',
'<!@(pkg-config freetype2 --libs)',
'<!@(pkg-config icu-uc --libs)',
'<!@(pkg-config harfbuzz-icu --libs)',
'<!@(pkg-config protobuf --libs)'
'<!@(pkg-config freetype2 --libs --static)',
'<!@(pkg-config protobuf --libs --static)',
'<!@(pkg-config harfbuzz-icu --libs --static)',
],
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.8',
'OTHER_CPLUSPLUSFLAGS': ['-std=c++11', '-stdlib=libc++', '-Wno-unused-variable'],
'OTHER_CPLUSPLUSFLAGS': ['-Wshadow','-std=c++11', '-stdlib=libc++', '-Wno-unused-variable'],
'GCC_ENABLE_CPP_RTTI': 'YES',
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
},
'cflags_cc!': ['-fno-rtti', '-fno-exceptions'],
'cflags_cc' : ['-std=c++11'],
'cflags_cc' : ['-std=c++11','-Wshadow'],
'cflags_c' : ['-std=c99'],
}
]