Skip to content

Commit 7879bcc

Browse files
committed
android build openssl with install_sw
1 parent 0d04ce4 commit 7879bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ jobs:
118118
export TOOLCHAIN=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64
119119
export ARCH=${{ matrix.arch }}
120120
export PATH=$TOOLCHAIN/bin:$PATH
121-
TARGET=android-${{ matrix.arch == 'arm64-v8a' && 'arm64' || matrix.arch }}
122121
123-
./Configure $TARGET \
122+
./Configure android-${{ matrix.arch == 'arm64-v8a' && 'arm64' || matrix.arch }} \
124123
--prefix=$PWD/build \
125124
--openssldir=$PWD/build/ssl \
126125
no-shared \
127126
no-unit-test \
128127
-D__ANDROID_API__=26
129128
make
129+
make install_sw
130130
131131
cp build/lib/libssl.a $TOOLCHAIN/sysroot/usr/lib/
132132
cp build/lib/libcrypto.a $TOOLCHAIN/sysroot/usr/lib/

0 commit comments

Comments
 (0)