From 209b353ff4999dcbc1067dac5e2028f534dcacad Mon Sep 17 00:00:00 2001 From: Xu Meng Date: Tue, 9 Jul 2019 05:19:55 -0500 Subject: [PATCH] build,v8: support IBM i Some libraries do not exist on IBM i (OS400). Commit 417c18e introduces these missing libraries. Need to differentiate `AIX` and `OS400`(IBM i). PR-URL: https://github.com/nodejs/node/pull/28607 Reviewed-By: Beth Griggs Reviewed-By: Ben Noordhuis Reviewed-By: Richard Lau Reviewed-By: Gireesh Punathil Reviewed-By: Michael Dawson --- tools/v8_gypfiles/v8.gyp | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 46fb49295f3d82..f0a6aeb69e0eae 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -2536,16 +2536,24 @@ }, }], ['OS=="aix"', { + 'variables': { + # Used to differentiate `AIX` and `OS400`(IBM i). + 'aix_variant_name': '