mirror of https://github.com/omar-polo/gmid.git
mention the configure script and how to link to a local libtls
This commit is contained in:
parent
597ddf6ca8
commit
8f0da58068
20
README.md
20
README.md
|
@ -40,6 +40,9 @@ The build is as simple as
|
|||
|
||||
make
|
||||
|
||||
If the configure scripts fails to pick up something, please open an
|
||||
isuse or notify me via email.
|
||||
|
||||
To install execute:
|
||||
|
||||
make install
|
||||
|
@ -60,6 +63,23 @@ and then run it with something along the lines of
|
|||
|
||||
ellipses used for brevity.
|
||||
|
||||
#### Local libretls
|
||||
|
||||
This is **NOT** recommended, please try to port LibreSSL/LibreTLS to
|
||||
your distribution of choice or use docker instead.
|
||||
|
||||
However, it's possible to link `gmid` to locally-installed libtls
|
||||
quite easily. (It's how I test gmid on Fedora, for instance)
|
||||
|
||||
Let's say you have compiled and installed libressl in `$LIBRESSL`,
|
||||
then you can build `gmid` with
|
||||
|
||||
./configure CFLAGS="-I$LIBRESSL/include" \
|
||||
LDFLAGS="$LIBRESSL/lib/libtls.a -lssl -lcrypto"
|
||||
make
|
||||
|
||||
(Fedora requires also `-lpthread` for some reason)
|
||||
|
||||
|
||||
## Architecture/Security considerations
|
||||
|
||||
|
|
Loading…
Reference in New Issue