From: Bruno Haible Date: Mon, 30 Jun 2025 09:22:40 +0000 (+0200) Subject: options tests: Fix link error. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ed606dd8337990077c2cc73ed3a35ae3d18ca5c;p=thirdparty%2Fgnulib.git options tests: Fix link error. * modules/options (Link): New section. * modules/options-tests (Makefile.am): Link test-options and test-options-prog with LIBINTL. --- diff --git a/ChangeLog b/ChangeLog index 2ab8971e51..ffc5512e71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-06-30 Bruno Haible + + options tests: Fix link error. + * modules/options (Link): New section. + * modules/options-tests (Makefile.am): Link test-options and + test-options-prog with LIBINTL. + 2025-06-30 Bruno Haible _Noreturn: Fix compilation in C++ mode on Solaris (regr. 2025-06-27). diff --git a/modules/options b/modules/options index 2e73ce886e..97a3211572 100644 --- a/modules/options +++ b/modules/options @@ -17,6 +17,9 @@ lib_SOURCES += options.c Include: "options.h" +Link: +$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise + License: GPL diff --git a/modules/options-tests b/modules/options-tests index 23f618d3ee..babc34c71e 100644 --- a/modules/options-tests +++ b/modules/options-tests @@ -13,4 +13,6 @@ configure.ac: Makefile.am: TESTS += test-options check_PROGRAMS += test-options +test_options_LDADD = $(LDADD) $(LIBINTL) noinst_PROGRAMS += test-options-prog +test_options_prog_LDADD = $(LDADD) $(LIBINTL)