mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-30 17:13:24 -05:00
47 lines
985 B
Bash
47 lines
985 B
Bash
#!/bin/sh
|
|
|
|
# https://github.com/lammertb/libhttp/archive/v1.8.tar.gz
|
|
|
|
|
|
# rm -rf include
|
|
# rm -rf lib
|
|
# mkdir include
|
|
# mkdir lib
|
|
|
|
# rm -rf libhttp-1.8
|
|
# tar xf libhttp-1.8.tar.gz
|
|
# cd libhttp-1.8
|
|
# cp -a include/civetweb.h ../include/
|
|
|
|
|
|
# cd ..
|
|
# rm -rf libhttp-1.8
|
|
# tar xf libhttp-1.8.tar.gz
|
|
# cd libhttp-1.8
|
|
# make lib COPT="-DNDEBUG -DNO_CGI -DNO_CACHING -DNO_SSL -DSQLITE_DISABLE_LFS -DSSL_ALREADY_INITIALIZED"
|
|
# cp -a libcivetweb.a ../lib/libcivetweb_64.a
|
|
|
|
|
|
|
|
# cd ..
|
|
# rm -rf libhttp-1.8
|
|
# tar xf libhttp-1.8.tar.gz
|
|
# cd libhttp-1.8
|
|
# make lib COPT="-m32 -DNDEBUG -DNO_CGI -DNO_CACHING -DNO_SSL -DSQLITE_DISABLE_LFS -DSSL_ALREADY_INITIALIZED"
|
|
# cp -a libcivetweb.a ../lib/libcivetweb_32.a
|
|
|
|
|
|
|
|
# cd ..
|
|
# rm -rf libhttp-1.8
|
|
# tar xf libhttp-1.8.tar.gz
|
|
# cd libhttp-1.8
|
|
# make lib CC=aarch64-linux-gnu-gcc COPT="-DNDEBUG -DNO_CGI -DNO_CACHING -DNO_SSL -DSQLITE_DISABLE_LFS -DSSL_ALREADY_INITIALIZED"
|
|
# cp -a libcivetweb.a ../lib/libcivetweb_aa64.a
|
|
|
|
|
|
# cd ..
|
|
# rm -rf libhttp-1.8
|
|
|
|
|