summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Rajlich <nathan@tootallnate.net>2012-05-27 00:47:40 -0700
committerNathan Rajlich <nathan@tootallnate.net>2012-06-05 10:25:39 -0700
commitc69d7f1a6cbec87b2ef2fa3b5de6d8db05858d2d (patch)
tree24d2970120efaa73ef8afc3decb9d7ab73751475
parent0a2076b26ac0dee453d664e0d0d6a0cc934bd579 (diff)
downloadnode-c69d7f1a6cbec87b2ef2fa3b5de6d8db05858d2d.tar.gz
test: make the node-weak install build agaist this repo
This prevents node-gyp from attempting to download dev header files from nodejs.org. Instead, the files in this repo will be used to build the module.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a80da5141..5cb6753dd 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,7 @@ node_modules/weak:
@if [ ! -f node ]; then make all; fi
@if [ ! -d node_modules ]; then mkdir -p node_modules; fi
./node deps/npm/bin/npm-cli.js install weak \
+ --nodedir="$(shell pwd)" \
--prefix="$(shell pwd)" --unsafe-perm # go ahead and run as root.
test-gc: all node_modules/weak