From 26fe04cd03287b946812647d059e877b3f416b98 Mon Sep 17 00:00:00 2001 From: charlie-stopprocessing Date: Tue, 4 May 2021 14:41:49 -0400 Subject: [PATCH] Added support for arm64 node-gyp compiling for EC2 graviton compatibility --- binding.gyp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/binding.gyp b/binding.gyp index 05fde38..81a8b20 100644 --- a/binding.gyp +++ b/binding.gyp @@ -49,6 +49,13 @@ } } ], + [ + "target_arch=='arm64'", { + "variables": { + "openssl_config_path": "<(nodedir)/deps/openssl/config/arm" + } + } + ], ], "include_dirs": [ "<(nodedir)/deps/openssl/openssl/include",