Skip to content

Commit 7f48519

Browse files
sam-githubBethGriggs
authored andcommitted
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: #29718 PR-URL: #29729 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: David Carlier <[email protected]>
1 parent 15c2eb0 commit 7f48519

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

deps/uv/uv.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
'src/unix/sysinfo-memory.c',
245245
],
246246
'link_settings': {
247-
'libraries': [ '-ldl', '-lrt' ],
247+
'libraries': [ '-ldl' ],
248248
},
249249
}],
250250
[ 'OS=="android"', {

deps/v8/gypfiles/v8.gyp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1975,8 +1975,7 @@
19751975
# library order and break (see crbug.com/469973).
19761976
# These libraries do not exist on Mac hosted builds.
19771977
'libraries': [
1978-
'-ldl',
1979-
'-lrt'
1978+
'-ldl'
19801979
]
19811980
}]
19821981
]

0 commit comments

Comments
 (0)