2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

Add missing CFLAGS and LDADD to unit tests

A number of unit tests needed to be told where to find their libraries
and matching headers.
This commit is contained in:
Tony Finch 2022-05-31 20:00:40 +01:00 committed by Ondřej Surý
parent a6d364deec
commit 24d420f20b
3 changed files with 14 additions and 2 deletions

View File

@ -70,6 +70,14 @@ md_test_LDADD = \
$(LDADD) \
$(OPENSSL_LIBS)
netmgr_test_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(OPENSSL_CFLAGS)
netmgr_test_LDADD = \
$(LDADD) \
$(OPENSSL_LIBS)
random_test_LDADD = \
$(LDADD) \
-lm

View File

@ -4,12 +4,14 @@ AM_CPPFLAGS += \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
$(LIBISCCFG_CFLAGS) \
$(LIBUV_CFLAGS) \
-I$(top_srcdir)/lib/isc
LDADD += \
$(LIBISC_LIBS) \
$(LIBDNS_LIBS) \
$(LIBISCCFG_LIBS)
$(LIBISCCFG_LIBS) \
$(LIBUV_LIBS)
check_PROGRAMS = \
duration_test \

View File

@ -4,13 +4,15 @@ AM_CPPFLAGS += \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
$(LIBNS_CFLAGS) \
$(LIBUV_CFLAGS) \
-I$(top_srcdir)/lib/isc \
-I$(top_srcdir)/lib/dns
LDADD += \
$(LIBISC_LIBS) \
$(LIBDNS_LIBS) \
$(LIBNS_LIBS)
$(LIBNS_LIBS) \
$(LIBUV_LIBS)
check_PROGRAMS = \
listenlist_test \