Ticket #31565: buildenv.txt

File buildenv.txt, 991 bytes (added by shredder, 7 months ago)

building environment exports

Line 
1$ export LDFLAGS="-static -static-libgcc -L$HOME/openssl/install/lib -L$HOME/libevent/install/lib -L$HOME/zlib/zlib-1.2.11 -L$HOME/zstd/zstd-1.4.3/lib"
2
3$ export CFLAGS="-I$HOME/openssl/install/include -I$HOME/zlib/zlib-1.2.11 -I$HOME/libevent/install/include -I$HOME/zstd/zstd-1.4.3/lib"
4
5$ export LIBRARY_PATH="$HOME/openssl/install/lib:$HOME/libevent/install/lib:$HOME/zlib/zlib-1.2.11:$HOME/zstd/zstd-1.4.3/lib"
6
7$ export INCLUDE_PATH="$HOME/openssl/install/include:$HOME/zlib/zlib-1.2.11:$HOME/libevent/install/include:$HOME/zstd/zstd-1.4.3/lib"
8
9$ export PKG_CONFIG_PATH="$HOME/openssl/install/lib/pkgconfig:$PKG_CONFIG_PATH"
10
11$ export LIBS="-lcrypt32"
12
13$ ./configure --disable-gcc-hardening --enable-static-tor --prefix="$HOME/tor/install" --with-libevent-dir="$HOME/libevent/install/lib" --with-openssl-dir="$HOME/openssl/install/lib" --with-zlib-dir="$HOME/zlib/zlib-1.2.11" --enable-static-zlib --enable-static-libevent --enable-static-openssl --host=i686-w64-mingw32 --enable-zstd