1234567891011121314151617181920212223 |
- $OpenBSD: patch-node_gyp,v 1.5 2017/01/23 16:47:04 abieber Exp $
- --- node.gyp.orig Wed Oct 19 16:02:10 2016
- +++ node.gyp Thu Nov 3 08:23:16 2016
- @@ -522,7 +522,7 @@
- 'NODE_PLATFORM="darwin"',
- ],
- }],
- - [ 'OS=="freebsd"', {
- + [ 'OS=="freebsd" or OS=="openbsd"', {
- 'libraries': [
- '-lutil',
- '-lkvm',
- @@ -546,6 +546,9 @@
- # rather than gyp's preferred "solaris"
- 'NODE_PLATFORM="sunos"',
- ],
- + }],
- + [ 'OS=="openbsd"', {
- + 'ldflags': [ '-rdynamic' ],
- }],
- [ '(OS=="freebsd" or OS=="linux") and node_shared=="false"', {
- 'ldflags': [ '-Wl,-z,noexecstack',
|