From da9718d5078ad50a23ba549417e002cf3b025235 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 29 Oct 2014 22:58:42 -0400 Subject: mbgl-config: also pass sqlite, curl, png, and boost ldflags along --- gyp/install.gypi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'gyp') diff --git a/gyp/install.gypi b/gyp/install.gypi index c25490c456..fc0411587b 100644 --- a/gyp/install.gypi +++ b/gyp/install.gypi @@ -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)' ] } ] -- cgit v1.2.1