Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-09-27 01:38:51 +0300
committerBeth Griggs <Bethany.Griggs@uk.ibm.com>2019-10-01 22:46:42 +0300
commit7f48519413775ab71c0c13852778430708e3c181 (patch)
treeda4d722b99663e31a3f5bc937c5f1b7324ec102c
parent15c2eb0e583e0c623e4c87ed0a7f5d657ccb949d (diff)
deps: do not link against librt
It is not needed, and causes an unnecessary runtime dependency with some linkers, such as devtoolset-6 on centos7-ppc64le. See: https://github.com/nodejs/node/issues/29718 PR-URL: https://github.com/nodejs/node/pull/29729 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com>
-rw-r--r--deps/uv/uv.gyp2
-rw-r--r--deps/v8/gypfiles/v8.gyp3
2 files changed, 2 insertions, 3 deletions
diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp
index 0836dd27f2b..454751b4914 100644
--- a/deps/uv/uv.gyp
+++ b/deps/uv/uv.gyp
@@ -244,7 +244,7 @@
'src/unix/sysinfo-memory.c',
],
'link_settings': {
- 'libraries': [ '-ldl', '-lrt' ],
+ 'libraries': [ '-ldl' ],
},
}],
[ 'OS=="android"', {
diff --git a/deps/v8/gypfiles/v8.gyp b/deps/v8/gypfiles/v8.gyp
index e7ea54c39b0..f339bbfcf80 100644
--- a/deps/v8/gypfiles/v8.gyp
+++ b/deps/v8/gypfiles/v8.gyp
@@ -1975,8 +1975,7 @@
# library order and break (see crbug.com/469973).
# These libraries do not exist on Mac hosted builds.
'libraries': [
- '-ldl',
- '-lrt'
+ '-ldl'
]
}]
]