mbgl-config: also pass sqlite, curl, png, and boost ldflags along

This commit is contained in:
Dane Springmeyer
2014-10-29 22:58:42 -04:00
parent 44402a670d
commit da9718d507

View File

@@ -18,6 +18,20 @@
{ 'files': [ '<(PRODUCT_DIR)/libmbgl-<(platform).a' ], 'destination': '<(install_prefix)/lib' },
{ 'files': [ '../include/mbgl' ], 'destination': '<(install_prefix)/include' }
],
'variables': {
'conditions': [
['OS == "linux"', {
'other_ldflags': [
'-L<(boost_root)/lib',
'-lboost_regex',
'<@(glfw3_static_libs)',
'<@(glfw3_ldflags)',
]
}, {
'other_ldflags': [ ]
}]
],
},
'actions': [
{ 'action_name': 'mbgl-config',
'inputs': [
@@ -31,7 +45,10 @@
'./utils/mbgl-config/build.sh',
'<(install_prefix)',
'<(platform)',
'<@(png_ldflags)'
'<@(sqlite3_ldflags)',
'<@(curl_ldflags)',
'<@(png_ldflags)',
'<@(other_ldflags)'
]
}
]