forked from RubenOlt/tor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtor.pri
More file actions
47 lines (37 loc) · 1.9 KB
/
tor.pri
File metadata and controls
47 lines (37 loc) · 1.9 KB
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
41
42
43
44
45
46
47
#find ./tor -type d
#Note, to compile the tor pojrect use the following command
#./configure --enable-static-tor --with-openssl-dir=/usr/local/Cellar/openssl@1.1/1.1.0h --with-libevent-dir=/usr/local/var/homebrew/linked/libevent --with-zlib-dir=/usr/local/Cellar/zlib/1.2.11
LIBS += -L$$PWD/src/or -ltor \
-L$$PWD/src/common -lor \
-L$$PWD/src/common -lor-ctime \
-L$$PWD/src/common -lor-crypto \
-L$$PWD/src/common -lor-event \
-L$$PWD/src/trunnel -lor-trunnel \
-L$$PWD/src/common -lcurve25519_donna \
-L$$PWD/src/ext/ed25519/donna -led25519_donna \
-L$$PWD/src/ext/ed25519/ref10 -led25519_ref10 \
-L$$PWD/src/ext/keccak-tiny -lkeccak-tiny \
INCLUDEPATH += $$PWD/src/or $$PWD/src/common $$PWD/src/trunnel $$PWD/src/ext/ed25519/donna $$PWD/src/ext/ed25519/ref10 $$PWD/src/ext/keccak-tiny
DEPENDPATH += $$PWD/src/or $$PWD/src/common $$PWD/src/trunnel $$PWD/src/ext/ed25519/donna $$PWD/src/ext/ed25519/ref10 $$PWD/src/ext/keccak-tiny
PRE_TARGETDEPS += $$PWD/src/or/libtor.a \
$$PWD/src/common/libor.a \
$$PWD/src/common/libor-ctime.a \
$$PWD/src/common/libor-crypto.a \
$$PWD/src/common/libor-event.a \
$$PWD/src/trunnel/libor-trunnel.a \
$$PWD/src/common/libcurve25519_donna.a \
$$PWD/src/ext/ed25519/donna/libed25519_donna.a \
$$PWD/src/ext/ed25519/ref10/libed25519_ref10.a \
$$PWD/src/ext/keccak-tiny/libkeccak-tiny.a \
macx {
# #brew install zlib
_ZLIB_PATH = /usr/local/opt/zlib
INCLUDEPATH += "$${_ZLIB_PATH}/include/"
LIBS += -L$${_ZLIB_PATH}/lib
#Shblis-MacBook-Pro:src Shbli$ find /usr/local/Cellar/libevent/2.1.8/lib/ -name *a
LIBS += -lz
}
LIBS += -L$$PWD/../../../packages/liblzma_x86-windows/lib/ -llzma
INCLUDEPATH += $$PWD/../../../packages/liblzma_x86-windows/include
DEPENDPATH += $$PWD/../../../packages/liblzma_x86-windows/include
PRE_TARGETDEPS += $$PWD/../../../packages/liblzma_x86-windows/lib/lzma.lib