touch run.sh
chmod 755 run.sh
mkdir build
cd build
../run.sh
run.sh
#!/bin/bash
#cd build
../configure \
--host=aarch64-linux-android \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
--disable-examples \
--disable-threads \
--prefix="/home/soft/nghttp2-1.38.0/build/prefix" \
CFLAGS="-fPIE -pie" \
CXXFLAGS="-fPIE -pie" \
OPENSSL_CFLAGS="-I/home/soft/openssl-1.1.1b/build/prefix/include" \
OPENSSL_LIBS="-L/home/soft/openssl-1.1.1b/build/prefix/lib"