From ccb5561b45666f046099e74f1e57ea005a47fdf4 Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Thu, 9 Feb 2012 22:59:36 +0100 Subject: [PATCH] added 32/64 switch --- m4/all-in-one.v8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/m4/all-in-one.v8 b/m4/all-in-one.v8 index 1c79f0db8e..444feb819e 100644 --- a/m4/all-in-one.v8 +++ b/m4/all-in-one.v8 @@ -6,7 +6,12 @@ dnl ---------------------------------------------------------------------------- V8_CPPFLAGS="-I${srcdir}/3rdParty/V8/include" V8_LDFLAGS="" -V8_LIBS="${srcdir}/3rdParty/V8/out/x64.release/obj.target/tools/gyp/libv8_base.a ${srcdir}/3rdParty/V8/out/x64.release/obj.target/tools/gyp/libv8_nosnapshot.a" + +if text "x$tr_BITS" == "x64"; then + V8_LIBS="${srcdir}/3rdParty/V8/out/x64.release/libv8_base.a ${srcdir}/3rdParty/V8/out/x64.release/libv8_nosnapshot.a" +else + V8_LIBS="${srcdir}/3rdParty/V8/out/ia32.release/libv8_base.a ${srcdir}/3rdParty/V8/out/ia32.release/libv8_nosnapshot.a" +fi TRI_V8_VERSION="3.9.4.0"