build: remove librt libs link for Android compatibility

PR-URL: https://github.com/nodejs/node/pull/51632
Fixes: https://github.com/nodejs/node/issues/50184
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
BuShe Pie 2024-02-25 14:39:00 +08:00 committed by GitHub
parent 7f3852c376
commit 56ced192a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1245,8 +1245,7 @@
'target_conditions': [
['_toolset=="host" and host_os=="linux"', {
'libraries': [
'-ldl',
'-lrt'
'-ldl'
],
}],
],