Win32: Fix tools build with autotools static library

When c-ares is being built as static on Win32, CARES_STATICLIB must
be defined, but it wasn't being pulled in for the tools.

Fixes: #384
Fix By: Brad House (@bradh352)
pull/386/head
bradh352 4 years ago
parent bdeb386a84
commit c35f8ff507
  1. 4
      src/tools/Makefile.am

@ -15,6 +15,10 @@ AM_CPPFLAGS = -I$(top_builddir)/include \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/lib
if USE_CPPFLAG_CARES_STATICLIB
AM_CPPFLAGS += $(CPPFLAG_CARES_STATICLIB)
endif
include Makefile.inc
LDADD = $(top_builddir)/src/lib/libcares.la

Loading…
Cancel
Save