curl 交叉编译 支持http2和openssl

摘要:
touchrun.shchmod755run.shmkdirbuildcdbuild../run.shrun。sh#!/bin/bash#cd/build../configure--host=aarch64 linux android--带有ssl=“/home/soft/openssl1.1.1b/build/prefix”--with-nghttp2=“/home/soft/ngtt
touch run.sh
chmod 755 run.sh
mkdir build
cd build
../run.sh

run.sh

#!/bin/bash
#cd /build

../configure 
--host=aarch64-linux-android 
--with-ssl="/home/soft/openssl-1.1.1b/build/prefix" 
--with-nghttp2="/home/soft/nghttp2-1.38.0/build/prefix" 
--prefix="/home/soft/curl-7.64.1/build/prefix"

#将CCLD = $(CC)  替换为 CCLD = $(CC) -lnghttp2
#make -j9 V=1
#make install

免责声明:文章转载自《curl 交叉编译 支持http2和openssl》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇【ExtJS】FormPanel表单验证六种方式实现hibernate查询下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

curl get请求添加header头信息

function get($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPGET, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //TRUE 将curl_exec()获取的信息以字符串返回,而不是直接输出。...

如何使用PHP生成图片

79 /** 80 * 从图片文件创建Image资源 81 * @param $file 图片文件,支持url 82 * @return bool|resource 成功返回图片image资源,失败返回false 83 */ 84 function createImageFromFile($file){ 85 if(pr...

android build.prop详解

# begin build properties开始设置系统性能 # autogenerated by buildinfo.sh{通过设置形成系统信息} ro.build.id=MIUI(版本ID) ro.build.display.id=oyang06_MIUI(版本号) ro.build.version.incremental=2.2.1(版本增量)...

PHP模拟post提交数据方法汇总

使用php模拟post传值虽然在日常生活中用到的不是很多,但是在某些场合还是经常用到的。下面脚本之家小编给大家整理了三种php模拟post传值的方法,file_get_contents、curl和socket,需要的朋友参考下 第一种:file_get_contents来模拟post <php function file_get_contents...

Android : apk签名的多种方法以及key的配置

  方法一:使用Android SDK中的签名工具给apk签名:   (1)Android源码的 build/target/product/security/ 目录下有 media.pk8、media.x509.pem、platform.pk8、platform.x509.pem、shared.pk8、shared.x509.pem、testkey.pk8...

curl用法详解

前言 昨天现场的浏览器崩溃了,楼主苦逼,就临时用了curl测试了下图片请求接口。今天总结下。 一.what? curl is a tool to transfer data from or to a server curl是用在命令行和脚本进行传输数据到服务器或者从服务器传输数据的工具。 二.特性 支持广泛的协议,如:ftp、http、https、pop...