其他分享
首页 > 其他分享> > nghttp2 交叉编译

nghttp2 交叉编译

作者:互联网

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" 

标签:run,交叉,prefix,编译,nghttp2,sh,build,home,soft
来源: https://www.cnblogs.com/smallredness/p/10840599.html