]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUILD] Fixed Makefile for linking pcre
authorChristian Wiese <morfoh@opensde.org>
Thu, 20 Nov 2008 13:47:04 +0000 (14:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 21 Mar 2009 09:18:04 +0000 (10:18 +0100)
commitc820300adf36700cbbff15249a8629baa63c5f5a
tree87b6991f700a0e9f82ecee077363ec57f6b44151
parent6b6a53db5f135d8256dd1a8c9dab018963ed6918
[BUILD] Fixed Makefile for linking pcre

If both make parameters USE_PCRE and USE_STATIC_PCRE are set to 1
while building haproxy, pcre gets linked in dynamically.

Therefore we check if USE_STATIC_PCRE was explicitely enabled to
ommit the CFLAGS and LDFLAGS normally set if USE_PCRE is enabled.
Makefile