From 94f2365fb7af68ca045bd745ed3fb92cf01c2991 Mon Sep 17 00:00:00 2001 From: johnche Date: Tue, 4 Jun 2024 10:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android-configure-static | 42 +++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/android-configure-static b/android-configure-static index a02bce6..01bd48a 100755 --- a/android-configure-static +++ b/android-configure-static @@ -83,26 +83,24 @@ GYP_DEFINES+=" host_os=$HOST_OS OS=android" export GYP_DEFINES -if [ -f "configure" ]; then - if [ $WITH_SSL == "" ]; then - echo "=========================building without-ssl version=================================" - ./configure \ - --dest-cpu=$DEST_CPU \ - --dest-os=android \ - --without-snapshot \ - --without-ssl \ - --with-intl=none \ - --enable-static \ - --cross-compiling - else - echo "=========================building with-ssl version=================================" - ./configure \ - --dest-cpu=$DEST_CPU \ - --dest-os=android \ - --without-snapshot \ - --openssl-no-asm \ - --with-intl=none \ - --enable-static \ - --cross-compiling - fi +if [ "$WITH_SSL" == "" ]; then + echo "=========================building without-ssl version=================================" + ./configure \ + --dest-cpu=$DEST_CPU \ + --dest-os=android \ + --without-snapshot \ + --without-ssl \ + --with-intl=none \ + --enable-static \ + --cross-compiling +else + echo "=========================building with-ssl version=================================" + ./configure \ + --dest-cpu=$DEST_CPU \ + --dest-os=android \ + --without-snapshot \ + --openssl-no-asm \ + --with-intl=none \ + --enable-static \ + --cross-compiling fi