Link tests with -lresolv that depend on it

This commit is contained in:
Ihar Hrachyshka
2024-10-15 16:06:33 -04:00
committed by Jeffrey Altman
parent 50067e8171
commit f0fd2d51b6
3 changed files with 4 additions and 0 deletions

View File

@@ -403,6 +403,7 @@ LDADD = libgssapi.la \
$(top_builddir)/lib/krb5/libkrb5.la \
$(LIB_roken)
test_names_LDFLAGS = -lresolv
test_names_LDADD = $(LDADD) $(top_builddir)/lib/asn1/libasn1.la
test_context_LDADD = $(LDADD) $(top_builddir)/lib/asn1/libasn1.la $(top_builddir)/lib/wind/libwind.la

View File

@@ -330,6 +330,8 @@ test_rfc3961_LDADD = \
$(LIB_hcrypto) \
$(LIB_roken)
test_plugin_LDFLAGS = -lresolv
if DEVELOPER_MODE
headerdeps = $(dist_libkrb5_la_SOURCES)
endif

View File

@@ -54,6 +54,7 @@ libtest_la_CFLAGS = -DTEST_SNPRINTF -DTEST_STRPFTIME
parse_reply_test_SOURCES = parse_reply-test.c resolve.c
parse_reply_test_CFLAGS = -DTEST_RESOLVE
parse_reply_test_LDFLAGS = -lresolv
test_readenv_SOURCES = test-readenv.c test-mem.c
test_auxval_SOURCES = test-auxval.c