From 56ced192a1dee73188fa33b113162ebfc4ea1fd6 Mon Sep 17 00:00:00 2001 From: BuShe Pie Date: Sun, 25 Feb 2024 14:39:00 +0800 Subject: [PATCH] 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 Reviewed-By: Joyee Cheung --- tools/v8_gypfiles/v8.gyp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index cd9e76bda44..53b6f565810 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -1245,8 +1245,7 @@ 'target_conditions': [ ['_toolset=="host" and host_os=="linux"', { 'libraries': [ - '-ldl', - '-lrt' + '-ldl' ], }], ],