From cba512d493d968afb203e28ed01e8d345fc9c9f4 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jul 2015 22:11:10 +0800 Subject: [PATCH] Remove openssl_fips in common.gypi When building native modules with old node this will cause errors: gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp --- common.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 5b8b2c09d6b..fe827948929 100644 --- a/common.gypi +++ b/common.gypi @@ -38,7 +38,7 @@ 'OBJ_DIR': '<(PRODUCT_DIR)/obj.target', 'V8_BASE': '<(PRODUCT_DIR)/obj.target/deps/v8/tools/gyp/libv8_base.a', }], - ['openssl_fips != ""', { + ['"" != ""', { 'OPENSSL_PRODUCT': 'libcrypto.a', }, { 'OPENSSL_PRODUCT': 'libopenssl.a',