diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-10-28 13:42:23 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-10-28 13:42:23 -0400 |
commit | 652c616048745cf78df656536fefed18e595f6d9 (patch) | |
tree | b05ae9333f175613fa666300e1e8dd2b36a6210b /gyp | |
parent | 124cc01bf101b242792ef94b338635b8520b6721 (diff) | |
download | qtlocation-mapboxgl-652c616048745cf78df656536fefed18e595f6d9.tar.gz |
build simple, working mbgl-config script from gyp
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/install.gypi | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/gyp/install.gypi b/gyp/install.gypi index b3b20cef53..0eadb94f56 100644 --- a/gyp/install.gypi +++ b/gyp/install.gypi @@ -10,14 +10,6 @@ 'mbgl-headless', 'mbgl-<(platform)', ], - 'defines': [ - 'PLATFORM=<(platform)', - ], - 'export_dependent_settings': [ - 'mbgl', - 'mbgl-headless', - 'mbgl-<(platform)', - ], 'copies': [ { 'files': [ '<(PRODUCT_DIR)/libmbgl.a' ], 'destination': '<(install_prefix)/lib' }, { 'files': [ '<(PRODUCT_DIR)/libmbgl-headless.a' ], 'destination': '<(install_prefix)/lib' }, @@ -28,15 +20,16 @@ { 'action_name': 'mbgl-config', 'inputs': [ '../utils/mbgl-config/mbgl-config.template.sh', - '../utils/mbgl-config/dummy.sh', + '../utils/mbgl-config/build.sh', ], 'outputs': [ '<(install_prefix)/bin/mbgl-config', ], 'action': [ - './utils/mbgl-config/dummy.sh', - 'PREFIX=<(install_prefix)', - 'PLATFORM=<(platform)', + './utils/mbgl-config/build.sh', + '<(install_prefix)', + '<(platform)', + 'mbgl', ] } ] |