From 714fe2f6173f57cdb45449e8816facf8ea8f868d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 1 Jun 2022 09:02:10 +0200 Subject: [PATCH] Don't list libtest.la headers in HEADERS variable The libtest.la headers were installed in very weird place, in fact, we don't need to list them in the HEADERS variable, listing them in SOURCES is enough for autotools to figure out how to compile the convenience library. --- tests/libtest/Makefile.am | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am index 2699f4bfcf..6bd4b80340 100644 --- a/tests/libtest/Makefile.am +++ b/tests/libtest/Makefile.am @@ -14,13 +14,10 @@ LDADD += \ check_LTLIBRARIES = libtest.la -noinst_libtest_ladir = .. -noinst_libtest_la_HEADERS = \ +libtest_la_SOURCES = \ ../include/tests/dns.h \ ../include/tests/isc.h \ - ../include/tests/ns.h -libtest_la_SOURCES = \ - $(noinst_libtest_la_HEADERS) \ + ../include/tests/ns.h \ dns.c \ isc.c \ ns.c