Created
May 13, 2012 17:01
-
-
Save ncb000gt/2689293 to your computer and use it in GitHub Desktop.
Revisions
-
ncb000gt created this gist
May 13, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ { 'variables': { 'ARCH': 'x64' }, 'targets': [ { 'target_name': 'bcrypt_lib', 'include_dirs': [ '<(node_root_dir)/deps/uv/include', '<(node_root_dir)/deps/v8/include', '<(node_root_dir)/deps/openssl/openssl/include', '<(node_root_dir)/deps/openssl/config/k8' ], 'conditions': [ [ 'OS=="win"', { 'defines': [ 'uint=unsigned int', # we need to use node's preferred "win32" rather than gyp's preferred "win" 'PLATFORM="win32"', ], 'libraries': [ '-l<(node_root_dir)/<(ARCH)/node.lib', '-l<(node_root_dir)/<(ARCH)/openssl.lib', ] } ] ], 'sources': [ 'src/blowfish.cc', 'src/bcrypt.cc', 'src/bcrypt_node.cc' ], } ], }