From b3cfd7fd0d9e5f7095e4ce89257dcd71e676ae2b Mon Sep 17 00:00:00 2001 From: Romain Muller Date: Wed, 18 May 2011 17:40:13 +0200 Subject: [PATCH] Build fat libgit2 --- build_libgit2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_libgit2.sh b/build_libgit2.sh index c5cd3d3..dfbb003 100755 --- a/build_libgit2.sh +++ b/build_libgit2.sh @@ -20,7 +20,7 @@ buildAction () { git submodule sync git submodule update cd libgit2 - ./waf --out=$TARGET_TEMP_DIR --prefix=$TARGET_BUILD_DIR configure + CFLAGS='-arch i386 -arch x86_64' ./waf --out=$TARGET_TEMP_DIR --prefix=$TARGET_BUILD_DIR configure if [ $? != 0 ]; then echo "error: failed to waf configure" exit -1