diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-02-12 18:34:52 -0800 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-02-17 10:48:41 -0500 |
commit | cc1783298c7e5f8ded8135667e29332c7a47ce03 (patch) | |
tree | 870bddca8f020bd2be5dc1ba4a7a53a4cd0fe6b8 /binding.gyp | |
parent | 2d635e2883591863b68cedb3bdcd5732d5725dcf (diff) | |
download | qtlocation-mapboxgl-cc1783298c7e5f8ded8135667e29332c7a47ce03.tar.gz |
add node-pre-gyp
Diffstat (limited to 'binding.gyp')
-rw-r--r-- | binding.gyp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/binding.gyp b/binding.gyp index c97efcf4b5..263249bc9b 100644 --- a/binding.gyp +++ b/binding.gyp @@ -1,6 +1,6 @@ { 'targets': [ - { 'target_name': 'mbgl', + { 'target_name': '<(module_name)', 'dependencies': [ './<(mbgl)/mbgl.gyp:core', './<(mbgl)/mbgl.gyp:platform-<(platform_lib)', @@ -52,11 +52,11 @@ { 'target_name': 'action_after_build', 'type': 'none', - 'dependencies': [ 'mbgl' ], + 'dependencies': [ '<(module_name)' ], 'copies': [ { - 'files': [ '<(PRODUCT_DIR)/mbgl.node' ], - 'destination': 'lib' + 'files': [ '<(PRODUCT_DIR)/<(module_name).node' ], + 'destination': '<(module_path)' } ] } |