Skip to content

Commit ac24c80

Browse files
committed
build: remove redundant condition from common.gypi
Both paths for the condition being removed result in the same value being assigned to `openssl_product`. This condition was also problematic as it was testing a variable in the same scope which gyp/gyp-next currently does not support. Refs: https://gyp.gsrc.io/docs/InputFormatReference.md#user_defined-variables PR-URL: #45076 Refs: nodejs/node-gyp#2750 Refs: #38633 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent cd54bce commit ac24c80

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

common.gypi

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
'error_on_warn%': 'false',
3030

3131
'openssl_fips%': '',
32+
'openssl_product': '<(STATIC_LIB_PREFIX)openssl<(STATIC_LIB_SUFFIX)',
3233
'openssl_no_asm%': 0,
3334

3435
# Don't use ICU data file (icudtl.dat) from V8, we use our own.
@@ -101,11 +102,6 @@
101102
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
102103
'v8_base': '<(PRODUCT_DIR)/obj.target/tools/v8_gypfiles/libv8_snapshot.a',
103104
}],
104-
['openssl_fips != ""', {
105-
'openssl_product': '<(STATIC_LIB_PREFIX)openssl<(STATIC_LIB_SUFFIX)',
106-
}, {
107-
'openssl_product': '<(STATIC_LIB_PREFIX)openssl<(STATIC_LIB_SUFFIX)',
108-
}],
109105
['OS=="mac"', {
110106
'clang%': 1,
111107
'obj_dir%': '<(PRODUCT_DIR)/obj.target',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy