From: Nick Bowler Date: Thu, 4 Jan 2024 03:21:10 +0000 (-0500) Subject: tests: link cdeclerr test with $(LTLIBINTL) X-Git-Tag: v1.3~48 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/d29b70326195354433679efda6e0519b08ab793d 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. --- 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.