Permalink
Browse files

osx 64bit fix

  • Loading branch information...
1 parent 2183774 commit 02053e14bbfbac0f5e8fb4aa88532de73e752dec @oransel committed Feb 28, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 src/lib/build.js
View
@@ -2,7 +2,7 @@
"author": "Mustafa Oransel",
"name": "talib",
"description": "Technical Analysis Library",
- "version": "0.2.3",
+ "version": "0.2.4",
"homepage":"https://github.com/oransel/node-talib",
"repository": {
"type":"git",
View
@@ -1,4 +1,4 @@
var exec = require('child_process').exec;
-var arch = process.arch == 'ia32' ? 'i386' : process.arch;
+var arch = process.arch == 'ia32' ? 'i386' : process.arch == 'x64' ? 'x86_64' : process.arch;
console.log('building talib functions...');
exec('export CFLAGS="-arch ' + arch + '" && export LDFLAGS="-arch ' + arch + '" && ./configure && make ARCH=' + arch);

0 comments on commit 02053e1

Please sign in to comment.