diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-09-26 15:17:30 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2019-10-01 14:28:00 -0700 |
commit | 7ec558cb243c7ffc3a120e29dc43ed9045a8b0a0 (patch) | |
tree | ec974ec48b8b52133efc227f66bd22aef5459ec9 /node.gypi | |
parent | f3ae3c9e3d2837bdbb21839e53498149b482449c (diff) | |
download | android-node-v8-7ec558cb243c7ffc3a120e29dc43ed9045a8b0a0.tar.gz android-node-v8-7ec558cb243c7ffc3a120e29dc43ed9045a8b0a0.tar.bz2 android-node-v8-7ec558cb243c7ffc3a120e29dc43ed9045a8b0a0.zip |
build: do not link against librt on linux
PR-URL: https://github.com/nodejs/node/pull/29727
Fixes: https://github.com/nodejs/node/issues/27377
Fixes: https://github.com/nodejs/node/issues/29718
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gypi')
-rw-r--r-- | node.gypi | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -290,6 +290,11 @@ [ 'OS=="sunos"', { 'ldflags': [ '-Wl,-M,/usr/lib/ld/map.noexstk' ], }], + [ 'OS=="linux"', { + 'libraries!': [ + '-lrt' + ], + }], [ 'OS in "freebsd linux"', { 'ldflags': [ '-Wl,-z,relro', '-Wl,-z,now' ] |