From 85fc8966e5912390ad220d03b188dd319c85ed1e Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Mon, 24 Jun 2024 00:33:30 -0700 Subject: [PATCH] tests: link binaries to gnulib * tests/local.mk (AM_CPPFLAGS): Include gnulib headers. (LDADD): Link to gnulib. Copyright-paperwork-exempt: Yes --- tests/local.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/local.mk b/tests/local.mk index 1fe14c01..83862119 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -17,6 +17,9 @@ built_programs = find xargs frcode locate updatedb +AM_CPPFLAGS = -I$(top_srcdir)/gl/lib +LDADD = $(top_srcdir)/gl/lib/libgnulib.a + # Indirections required so that we'll still be able to know the # complete list of our tests even if the user overrides TESTS # from the command line (as permitted by the test harness API).