From bfc7ab835929790b03f4f924a40d1eb0ed173190 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Wed, 29 Jul 2015 17:06:40 -0400 Subject: [PATCH] Fixed whole-archive builds for the bindings binary. --- binding.gyp | 4 ++-- platform/os.sh | 17 ++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/binding.gyp b/binding.gyp index 2fd9e15f..08a19576 100755 --- a/binding.gyp +++ b/binding.gyp @@ -27,8 +27,8 @@ ], 'link_settings': { 'libraries': [ - '& 2 @@ -103,11 +110,7 @@ if test -z "$1" -o x"$1" = x'load_archive'; then fi if test -z "$1" -o x"$1" = x'artifacts_dir'; then - if [ "${os}" == "osx" ]; then - echo -n "${os_dir}/lib" - else - echo -n "${os_dir}" - fi + echo -n "${artifacts_dir}" fi if test -z "$1" -o x"$1" = x'lib'; then