18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
-
+
|
## Linux
* Set up in-tree OpenSSL:
<ul>
<li> Download the OpenSSL tarball and unpack it into `compat/openssl`
<li> `cd` into the `compat/openssl` directory
<li> `./config no-ssl3 no-weak-ssl-ciphers no-shared no-threads --openssldir=/usr/lib/ssl`
<li> `CFLAGS=-Os make`
<li> `CFLAGS=-Os make -e`
</ul>
* `./configure --with-openssl=tree --disable-fusefs`
* If the Makefile contains a reference to `-lpthread`, remove it.
* `CFLAGS="-Os" make -e clean fossil`
* `strip fossil`
* Verify dependencies using "`ldd ./fossil`"
* `tar czf fossil-linux-x64-$VERSION.tar.gz fossil`
|