blob: 4e7110af50a85a71fc9c0af93aca6671984ce5ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
To compile libjunbound
Linux (libunbound, libldns and lcrypto shared):
----------------------------------------------
a) With autoconf
autoreconf --install
./configure
make
cp ./libs/libjunbound.so ../../lib/native/linux
b) With manual makefile
make -f makefile.linux
Linux (libunbound statically linked, lcrypto shared):
----------------------------------------------------
Use make-linux.sh
Mac:
---
Use make-mac.sh
Windows:
-------
- Get ldns, libexpat, unbound and compile them
- make -f makefile.w32
Expat Win64:
./configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
Unbound Win64:
The configure script wrongly detects getaddrinfo as Unix. Break the detection
script at line 16085 (1.4.12)
OpenSSL Win64:
configure mingw64 -no-capieng -no-asm
make
make check (http://stackoverflow.com/questions/7256087/error-compiling-openssl-with-mingw-msys)
mkdir lib
cp libcrypto.a lib
cp libssl.a lib
|