From 28a5832f230fb2f03a3533ff68ea1d42f2e9857b Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Wed, 23 Mar 2016 10:24:50 +0100 Subject: [PATCH] Fix configuration on MacOS platform --- config.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.m4 b/config.m4 index f721165..63a86f4 100644 --- a/config.m4 +++ b/config.m4 @@ -145,6 +145,7 @@ int main () ;; esac + LDFLAGS_libplatform="" for static_link_extra_file in $static_link_extra; do AC_MSG_CHECKING([for $static_link_extra_file]) @@ -164,7 +165,7 @@ int main () AC_MSG_ERROR([Please provide $static_link_extra_file next to the libv8.so, see README.md for details]) fi - LDFLAGS_libplatform="$static_link_dir/$static_link_extra_file" + LDFLAGS_libplatform="$LDFLAGS_libplatform $static_link_dir/$static_link_extra_file" done # modify flags for (possibly) succeeding V8 startup check