Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbroadst/ef96414b1485c13158fd8069df29a8e3 to your computer and use it in GitHub Desktop.
Save mbroadst/ef96414b1485c13158fd8069df29a8e3 to your computer and use it in GitHub Desktop.
From a86617b06b6fe9409be8c78aff97acc1f16bf6e5 Mon Sep 17 00:00:00 2001
From: Matt Broadstone <mbroadst@gmail.com>
Date: Mon, 11 Apr 2016 09:41:00 -0400
Subject: [PATCH 3/3] fix v8 pkg_install-include for cross compile
---
mk/support/pkg/v8.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/support/pkg/v8.sh b/mk/support/pkg/v8.sh
index 4923ea4..dd22553 100644
--- a/mk/support/pkg/v8.sh
+++ b/mk/support/pkg/v8.sh
@@ -14,7 +14,7 @@ pkg_install-include () {
# -- assemble the icu headers
if [[ "$CROSS_COMPILING" = 1 ]]; then
- ( cross_build_env; in_dir "$build_dir/third_party/icu" ./configure --prefix="$(niceabspath "$install_dir")" --enable-static "$@" )
+ ( cross_build_env; in_dir "$build_dir/third_party/icu/source" ./configure --prefix="$(niceabspath "$install_dir")" --enable-static --disable-layout "$@" )
else
in_dir "$build_dir/third_party/icu/source" ./configure --prefix="$(niceabspath "$install_dir")" --enable-static --disable-layout "$@"
fi
--
2.3.8 (Apple Git-58)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment