mbgl-config: also pass sqlite, curl, png, and boost ldflags along
This commit is contained in:
@@ -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)'
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user