From d29b70326195354433679efda6e0519b08ab793d Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Wed, 3 Jan 2024 22:21:10 -0500 Subject: [PATCH] tests: link cdeclerr test with $(LTLIBINTL) Otherwise this test fails to link when NLS is enabled but needs to be linked against an external libintl. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index eae1366..7b60f4b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Copyright © 2011-2013, 2019-2023 Nick Bowler +# Copyright © 2011-2013, 2019-2024 Nick Bowler # # License WTFPL2: Do What The Fuck You Want To Public License, version 2. # This is free software: you are free to do what the fuck you want to. @@ -134,7 +134,7 @@ t/cdeclerr.$(OBJEXT): src/errmsg.h check_PROGRAMS += t/cdeclerr t_cdeclerr_SOURCES = common/src/tap.c t/cdeclerr.c EXTRA_t_cdeclerr_DEPENDENCIES = src/error.lo src/output.lo $(shared_gl_objects) -t_cdeclerr_LDADD = $(EXTRA_t_cdeclerr_DEPENDENCIES) $(LIBTHREAD) +t_cdeclerr_LDADD = $(EXTRA_t_cdeclerr_DEPENDENCIES) $(LTLIBINTL) $(LIBTHREAD) $(t_cdeclerr_OBJECTS): $(gnulib_headers) # Supporting rules for gettext. -- 2.43.2