Skip to content

Commit

Permalink
调整脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jun 4, 2024
1 parent 30d8e60 commit 94f2365
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions android-configure-static
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 94f2365

Please sign in to comment.