From 1324310fe7fd47b5669e044076ce434e357047c4 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Fri, 2 Jul 2010 10:53:20 +0200 Subject: [PATCH 7/7] [autotools] Fix compile warnings on auto imports for mingw compiler --- cpp/Makefile.am | 2 +- cpp/tests/Makefile.am | 2 ++ poppler/Makefile.am | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cpp/Makefile.am b/cpp/Makefile.am index d8891db..dda683a 100644 --- a/cpp/Makefile.am +++ b/cpp/Makefile.am @@ -42,4 +42,4 @@ libpoppler_cpp_la_LIBADD = \ $(top_builddir)/poppler/libpoppler.la \ $(LIBICONV) -libpoppler_cpp_la_LDFLAGS = -version-info 1:0:1 @create_shared_lib@ +libpoppler_cpp_la_LDFLAGS = -version-info 1:0:1 @create_shared_lib@ @auto_import_flags@ diff --git a/cpp/tests/Makefile.am b/cpp/tests/Makefile.am index d2544a5..5066889 100644 --- a/cpp/tests/Makefile.am +++ b/cpp/tests/Makefile.am @@ -1,3 +1,5 @@ +AM_LDFLAGS = @auto_import_flags@ + INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/utils \ diff --git a/poppler/Makefile.am b/poppler/Makefile.am index 5f8f7fb..5da63f0 100644 --- a/poppler/Makefile.am +++ b/poppler/Makefile.am @@ -176,7 +176,7 @@ libpoppler_la_LIBADD = \ $(PTHREAD_LIBS) \ $(win32_libs) -libpoppler_la_LDFLAGS = -version-info 6:0:0 @create_shared_lib@ +libpoppler_la_LDFLAGS = -version-info 6:0:0 @create_shared_lib@ @auto_import_flags@ if ENABLE_XPDF_HEADERS -- 1.6.4.2