]> Savannah Git Hosting - gnulib.git/commitdiff
vasnwprintf tests: Fix link errors on AIX.
authorBruno Haible <bruno@clisp.org>
Wed, 22 Mar 2023 13:42:58 +0000 (14:42 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 22 Mar 2023 13:42:58 +0000 (14:42 +0100)
* modules/vasnwprintf (Link): New section.
* modules/vasnwprintf-posix (Link): New section.
* modules/vasnwprintf-tests (Makefile.am): Link test-vasnwprintf with
$(MBRTOWC_LIB).
* modules/vasnwprintf-posix-tests (Makefile.am): Link
test-vasnwprintf-posix, test-vasnwprintf-posix2, test-vasnwprintf-posix3
with $(MBRTOWC_LIB).

ChangeLog
modules/vasnwprintf
modules/vasnwprintf-posix
modules/vasnwprintf-posix-tests
modules/vasnwprintf-tests

index 5b9a048b9334ff088079ae9426ccb2853c98ed27..568db7a8da03c312c5c257f817ee3a96563b3bb1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2023-03-22  Bruno Haible  <bruno@clisp.org>
+
+       vasnwprintf tests: Fix link errors on AIX.
+       * modules/vasnwprintf (Link): New section.
+       * modules/vasnwprintf-posix (Link): New section.
+       * modules/vasnwprintf-tests (Makefile.am): Link test-vasnwprintf with
+       $(MBRTOWC_LIB).
+       * modules/vasnwprintf-posix-tests (Makefile.am): Link
+       test-vasnwprintf-posix, test-vasnwprintf-posix2, test-vasnwprintf-posix3
+       with $(MBRTOWC_LIB).
+
 2023-03-22  Bruno Haible  <bruno@clisp.org>
 
        gnu-web-doc-update: Make it work for the first upload of a manual.
index 91c4ca64ed4bc982ae1af5448453161918a47720..82eb83675fc7f0e92aa0a3ee588a080bdf8552a3 100644 (file)
@@ -50,6 +50,9 @@ lib_SOURCES += asnwprintf.c
 Include:
 "vasnwprintf.h"
 
+Link:
+$(MBRTOWC_LIB)
+
 License:
 LGPLv2+
 
index ca14e64866f20a58094cb5a2ee74171a52977225..554efe1707056c438bb1db379f3e213ed71267a2 100644 (file)
@@ -35,6 +35,9 @@ Makefile.am:
 Include:
 "vasnwprintf.h"
 
+Link:
+$(MBRTOWC_LIB)
+
 License:
 LGPLv2+
 
index d9729e9dcb5a696345ed87c7ff66d54f9afb7311..667eb61103454aedd22bb934ce4061434203f55f 100644 (file)
@@ -28,5 +28,6 @@ Makefile.am:
 TESTS += test-vasnwprintf-posix test-vasnwprintf-posix2.sh test-vasnwprintf-posix3
 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
 check_PROGRAMS += test-vasnwprintf-posix test-vasnwprintf-posix2 test-vasnwprintf-posix3
-test_vasnwprintf_posix2_LDADD = $(LDADD) $(SETLOCALE_LIB)
-test_vasnwprintf_posix3_LDADD = $(LDADD) $(SETLOCALE_LIB)
+test_vasnwprintf_posix_LDADD = $(LDADD) $(MBRTOWC_LIB)
+test_vasnwprintf_posix2_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
+test_vasnwprintf_posix3_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
index 37ed08de56afa808aca197c35dccdbd967892ced..5eb8a67d0c2e367c55e6f427a45feb1dfbc47a80 100644 (file)
@@ -12,3 +12,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-vasnwprintf
 check_PROGRAMS += test-vasnwprintf
+test_vasnwprintf_LDADD = $(LDADD) $(MBRTOWC_LIB)