[Pkg-libvirt-commits] [libguestfs] 35/59: test-charset-fidelity: use and link against gnulib
Hilko Bengen
bengen at moszumanska.debian.org
Wed Nov 26 22:04:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit d4203a45e7428d771764d4ba5c65cbeeac5b1e88
Author: Pino Toscano <ptoscano at redhat.com>
Date: Tue Nov 4 18:02:04 2014 +0100
test-charset-fidelity: use and link against gnulib
It uses error() which is specific to GNU libc, but supplied by gnulib if
not available.
(cherry picked from commit 9deafea8462b72779a85570b7dd0412d5e7c10bc)
---
tests/charsets/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/charsets/Makefile.am b/tests/charsets/Makefile.am
index b7ec703..2becad9 100644
--- a/tests/charsets/Makefile.am
+++ b/tests/charsets/Makefile.am
@@ -26,6 +26,7 @@ check_PROGRAMS = $(TESTS)
test_charset_fidelity_SOURCES = test-charset-fidelity.c
test_charset_fidelity_CPPFLAGS = \
+ -I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
-I$(top_srcdir)/src -I$(top_builddir)/src
test_charset_fidelity_CFLAGS = \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
@@ -33,4 +34,5 @@ test_charset_fidelity_LDADD = \
$(top_builddir)/src/libutils.la \
$(top_builddir)/src/libguestfs.la \
$(LIBXML2_LIBS) \
- $(LIBVIRT_LIBS)
+ $(LIBVIRT_LIBS) \
+ $(top_builddir)/gnulib/lib/libgnu.la
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list