summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node.gypi5
1 files changed, 5 insertions, 0 deletions
diff --git a/node.gypi b/node.gypi
index f1a29f5277..6954352b5e 100644
--- a/node.gypi
+++ b/node.gypi
@@ -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' ]