]> git.draconx.ca Git - cdecl99.git/commitdiff
tests: link cdeclerr test with $(LTLIBINTL)
authorNick Bowler <nbowler@draconx.ca>
Thu, 4 Jan 2024 03:21:10 +0000 (22:21 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 4 Jan 2024 03:21:10 +0000 (22:21 -0500)
Otherwise this test fails to link when NLS is enabled but needs
to be linked against an external libintl.

Makefile.am

index eae1366fdb2c58089df2073642d5d3c63e42f038..7b60f4b5f4aee82884266413cf5cb96eea2c996d 100644 (file)
@@ -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.