Skip to content

Commit b3cfd7f

Browse files
committed
Build fat libgit2
1 parent 6d8982a commit b3cfd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_libgit2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildAction () {
2020
git submodule sync
2121
git submodule update
2222
cd libgit2
23-
./waf --out=$TARGET_TEMP_DIR --prefix=$TARGET_BUILD_DIR configure
23+
CFLAGS='-arch i386 -arch x86_64' ./waf --out=$TARGET_TEMP_DIR --prefix=$TARGET_BUILD_DIR configure
2424
if [ $? != 0 ]; then
2525
echo "error: failed to waf configure"
2626
exit -1

0 commit comments

Comments
 (0)