Skip to content

Commit 7dc9a4a

Browse files
author
Dane Springmeyer
committed
call node-pre-gyp instead of nw-gyp directly and pass target_arch
1 parent f04c3b4 commit 7dc9a4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/nw/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ node_modules/sqlite3:
66
npm install https://github.com/mapbox/node-sqlite3/tarball/master
77

88
node_modules/sqlite3/lib/node_sqlite3.node: node_modules/sqlite3
9-
cd node_modules/sqlite3 && nw-gyp rebuild --target=$(NODE_WEBKIT_VERSION) && rm -rf build/
9+
cd node_modules/sqlite3 && ./node_modules/.bin/node-pre-gyp build --runtime=node-webkit --target_arch=ia32 --target=$(NODE_WEBKIT_VERSION)
1010

1111
node-webkit-v$(NODE_WEBKIT_VERSION)-osx-ia32.zip:
1212
wget https://s3.amazonaws.com/node-webkit/v$(NODE_WEBKIT_VERSION)/node-webkit-v$(NODE_WEBKIT_VERSION)-osx-ia32.zip

0 commit comments

Comments
 (0)