FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #1600 from implausible/bug/ssl-not-required-for-no… · nodegit/nodegit@1bc53bf · GitHub

Repository navigation

Commit 1bc53bf

Browse files
authored
Merge pull request #1600 from implausible/bug/ssl-not-required-for-node-builds
Remove ssl and crypto dependency on non-electron builds
2 parents 7e64250 + 4b5d313 commit 1bc53bf

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎generate/templates/templates/binding.gyp‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,17 @@
189189
],
190190
[
191191
"OS=='linux' or OS.endswith('bsd')", {
192+
"cflags": [
193+
"-std=c++11"
194+
]
195+
}
196+
],
197+
[
198+
"OS.endswith('bsd') or (node_root_dir.split('/')[-1].startswith('iojs') and OS=='linux')", {
192199
"libraries": [
193200
"-lcrypto",
194201
"-lssl"
195202
],
196-
"cflags": [
197-
"-std=c++11"
198-
]
199203
}
200204
]
201205
]

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL