mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
BUILD: Make deviceatlas require PCRE
Makefile deviceatlas throwing an error if the necessary pcre flag is not passed avoiding surprising bunch of 'undefined reference' for the user. Plus a tiny typo in OPENSSL area. [wt: backport to 1.6]
This commit is contained in:
parent
eccdf43eec
commit
7385f65283
5
Makefile
5
Makefile
@ -569,7 +569,7 @@ OPTIONS_OBJS += src/dlmalloc.o
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(USE_OPENSSL),)
|
ifneq ($(USE_OPENSSL),)
|
||||||
# OpenSSL is packaged in various forms and with various dependences.
|
# OpenSSL is packaged in various forms and with various dependencies.
|
||||||
# In general -lssl is enough, but on some platforms, -lcrypto may be needed,
|
# In general -lssl is enough, but on some platforms, -lcrypto may be needed,
|
||||||
# reason why it's added by default. Some even need -lz, then you'll need to
|
# reason why it's added by default. Some even need -lz, then you'll need to
|
||||||
# pass it in the "ADDLIB" variable if needed. If your SSL libraries are not
|
# pass it in the "ADDLIB" variable if needed. If your SSL libraries are not
|
||||||
@ -614,6 +614,9 @@ OPTIONS_OBJS += src/hlua.o
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(USE_DEVICEATLAS),)
|
ifneq ($(USE_DEVICEATLAS),)
|
||||||
|
ifeq ($(USE_PCRE),)
|
||||||
|
$(error the DeviceAtlas module needs the PCRE library in order to compile)
|
||||||
|
endif
|
||||||
# Use DEVICEATLAS_SRC and possibly DEVICEATLAS_INC and DEVICEATLAS_LIB to force path
|
# Use DEVICEATLAS_SRC and possibly DEVICEATLAS_INC and DEVICEATLAS_LIB to force path
|
||||||
# to DeviceAtlas headers and libraries if needed.
|
# to DeviceAtlas headers and libraries if needed.
|
||||||
DEVICEATLAS_SRC =
|
DEVICEATLAS_SRC =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user