]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/Lib/libhttp/buildlib.sh
vtoyjump optimization.
[Ventoy.git] / LinuxGUI / Ventoy2Disk / Lib / libhttp / buildlib.sh
1 #!/bin/sh
2
3 # https://github.com/lammertb/libhttp/archive/v1.8.tar.gz
4
5
6 # rm -rf include
7 # rm -rf lib
8 # mkdir include
9 # mkdir lib
10
11 # rm -rf libhttp-1.8
12 # tar xf libhttp-1.8.tar.gz
13 # cd libhttp-1.8
14 # cp -a include/civetweb.h ../include/
15
16
17 # cd ..
18 # rm -rf libhttp-1.8
19 # tar xf libhttp-1.8.tar.gz
20 # cd libhttp-1.8
21 # make lib COPT="-DNDEBUG -DNO_CGI -DNO_CACHING -DNO_SSL -DSQLITE_DISABLE_LFS -DSSL_ALREADY_INITIALIZED"
22 # cp -a libcivetweb.a ../lib/libcivetweb_64.a
23
24
25
26 # cd ..
27 # rm -rf libhttp-1.8
28 # tar xf libhttp-1.8.tar.gz
29 # cd libhttp-1.8
30 # make lib COPT="-m32 -DNDEBUG -DNO_CGI -DNO_CACHING -DNO_SSL -DSQLITE_DISABLE_LFS -DSSL_ALREADY_INITIALIZED"
31 # cp -a libcivetweb.a ../lib/libcivetweb_32.a
32
33
34
35 # cd ..
36 # rm -rf libhttp-1.8
37 # tar xf libhttp-1.8.tar.gz
38 # cd libhttp-1.8
39 # make lib CC=aarch64-linux-gnu-gcc COPT="-DNDEBUG -DNO_CGI -DNO_CACHING -DNO_SSL -DSQLITE_DISABLE_LFS -DSSL_ALREADY_INITIALIZED"
40 # cp -a libcivetweb.a ../lib/libcivetweb_aa64.a
41
42
43 # cd ..
44 # rm -rf libhttp-1.8
45
46