소스 검색

Fix configuration on MacOS platform

Stefan Siegl 9 년 전
부모
커밋
28a5832f23
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      config.m4

+ 2 - 1
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