bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wcwidth tests: Fix link error


From: Bruno Haible
Subject: wcwidth tests: Fix link error
Date: Mon, 21 May 2018 02:42:25 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-124-generic; KDE/5.18.0; x86_64; ; )

On a system with a recent libunistring installed, a testdir of all of gnulib
produces a link error in test-wcwidth (regarding the symbol 'uc_width').
The reason is that the 'libunistring' or 'libunistring-optional' modules
causes 'uc_width' to come from libunistring.

This fixes it.


2018-05-20  Bruno Haible  <address@hidden>

        wcwidth tests: Fix link error.
        * modules/wcwidth-tests (Makefile.am): Link test-wcwidth against
        $(LIBUNISTRING).

diff --git a/modules/wcwidth-tests b/modules/wcwidth-tests
index 34ddc2c..9606674 100644
--- a/modules/wcwidth-tests
+++ b/modules/wcwidth-tests
@@ -12,3 +12,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-wcwidth
 check_PROGRAMS += test-wcwidth
+test_wcwidth_LDADD = $(LDADD) $(LIBUNISTRING)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]