]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: ssl: update build instructions to use new SSL_* variables
authorLukas Tribus <luky-37@hotmail.com>
Mon, 30 Sep 2013 22:28:03 +0000 (00:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 1 Oct 2013 05:23:17 +0000 (07:23 +0200)
Since commit 9a05945bd ("BUILD: add SSL_INC/SSL_LIB variables to force the
path to openssl") we have SSL_INC and SSL_LIB to point to the libssl
installation.

This commits updates the build instructions in README accordingly.

README

diff --git a/README b/README
index 17426806eee38bf7b5b50ae18f5829fd2179f925..b90e54ee9b0a758abdb991256d55f2c7a313aa1d 100644 (file)
--- a/README
+++ b/README
@@ -97,9 +97,9 @@ keyword and install it to a local directory, so your system is not affected :
     $ ./config --prefix=$STATICLIBSSL no-shared
     $ make && make install_sw
 
-When building haproxy, pass that path via ADDINC and ADDLIB to make and include
-libdl ("-ldl").
-    $ make TARGET=linux2628 USE_OPENSSL=1 ADDINC=-I$STATICLIBSSL/include ADDLIB="-L$STATICLIBSSL/lib -ldl"
+When building haproxy, pass that path via SSL_INC and SSL_LIB to make and
+include additional libs with ADDLIB if needed (in this case for example libdl):
+    $ make TARGET=linux26 USE_OPENSSL=1 SSL_INC=$STATICLIBSSL/include SSL_LIB=$STATICLIBSSL/lib ADDLIB=-ldl
 
 It is also possible to include native support for ZLIB to benefit from HTTP
 compression. For this, pass "USE_ZLIB=1" on the "make" command line and ensure