Skip to content

Commit

Permalink
禁用ssl后,libngtcp2和libnghttp3不会编译
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Sep 3, 2022
1 parent 2aa6abc commit cfac513
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions android-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ cp \
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }

if version_gt $VERSION "16"; then
cp \
out/Release/obj.target/deps/ngtcp2/libngtcp2.a \
out/Release/obj.target/deps/ngtcp2/libnghttp3.a \
../puerts-node/nodejs/lib/Android_Static/$OUTPUT/
echo "do nothing"
else
cp out/Release/obj.target/tools/v8_gypfiles/libv8_libsampler.a \
../puerts-node/nodejs/lib/Android_Static/$OUTPUT/
Expand Down

0 comments on commit cfac513

Please sign in to comment.