summaryrefslogtreecommitdiff
path: root/system/findutils/tests-underlinked.patch
blob: d45f6a7a2ce1508169480565dccced9ac9911523 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 85fc8966e5912390ad220d03b188dd319c85ed1e Mon Sep 17 00:00:00 2001
From: Collin Funk <collin.funk1@gmail.com>
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).