Permalink
Browse files

Attempt to conditionally change `include_dirs`.

Also prefer single quotes here, to be a good team player.
  • Loading branch information...
1 parent 4b82814 commit 1311c1032b0786b74d62f455771dcf0d5e531953 Dan Bornstein committed Aug 24, 2012
Showing with 10 additions and 3 deletions.
  1. +10 −3 binding.gyp
View
@@ -1,8 +1,15 @@
{
- "targets": [
+ 'targets': [
{
- "target_name": "ursaNative",
- "sources": [ "src/ursaNative.cc" ]
+ 'target_name': 'ursaNative',
+ 'sources': [ 'src/ursaNative.cc' ]
}
+ ],
+ 'conditions': [
+ ['node_shared_openssl=="false"', {
+ 'include_dirs': [
+ '<(node_root_dir)/deps/openssl/openssl/include'
+ ]
+ }]
]
}

0 comments on commit 1311c10

Please sign in to comment.