diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-08-31 15:42:04 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-08-31 15:42:04 -0700 |
commit | 42efc9a21aa09d22ebe30345cd385706428eaf13 (patch) | |
tree | 2ca02895de600d8a5adcb494b4314edfa961ff47 /scripts | |
parent | 5a8be45497fc9d0903d13b4614ed7c8019b81770 (diff) | |
download | qtlocation-mapboxgl-42efc9a21aa09d22ebe30345cd385706428eaf13.tar.gz |
Fix NODE_PRE_GYP variable
`cd` outputs the resulting directory, which is not what is desired
here.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/main.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/main.mk b/scripts/main.mk index 451f6a0d06..120b13c3c7 100644 --- a/scripts/main.mk +++ b/scripts/main.mk @@ -95,7 +95,7 @@ Xcode/__project__: print-env $(SUBMODULES) config/$(HOST_SLUG).gypi #### Build individual targets ################################################## -NODE_PRE_GYP = $(shell cd platform/node && npm bin)/node-pre-gyp +NODE_PRE_GYP = $(shell cd platform/node > /dev/null && npm bin)/node-pre-gyp node/configure: cd platform/node && $(NODE_PRE_GYP) configure --clang -- \ $(GYP_FLAGS) -I../../config/$(HOST_SLUG).gypi \ |