Remove -lanl when WITH_ADNS is unset

Do not add -lanl to BROKER_LIBS for all Linux builds.
Indeed, -lanl is only needed for getaddrinfo_a which is only used in
_mosquitto_try_connect_step1 when WITH_ADNS is set

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
pull/196/merge
Fabrice Fontaine 9 years ago committed by Roger A. Light
parent 623f082615
commit 439f39b5da

@ -159,10 +159,6 @@ ifeq ($(UNAME),QNX)
LIB_LIBS:=$(LIB_LIBS) -lsocket
endif
ifeq ($(UNAME),Linux)
BROKER_LIBS:=$(BROKER_LIBS) -lanl
endif
ifeq ($(WITH_WRAP),yes)
BROKER_LIBS:=$(BROKER_LIBS) -lwrap
BROKER_CFLAGS:=$(BROKER_CFLAGS) -DWITH_WRAP

Loading…
Cancel
Save