From 8f791d2783ba9741e95ea6d87b9ca85673fe8ccc Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Tue, 29 Jun 2010 16:43:31 +0200 Subject: [PATCH 2/2] [qt4] Fix cross compiling for Windows with autotools When cross compiling for Windows with autotools, libtool creates libpoppler_qt4_la-poppler-optcontent.lo instead of poppler-optcontent.lo. Thus, explicitly using poppler-optcontent.lo to create poppler-optcontent.moc does not work well. --- qt4/src/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qt4/src/Makefile.am b/qt4/src/Makefile.am index 087c693..5c921bb 100644 --- a/qt4/src/Makefile.am +++ b/qt4/src/Makefile.am @@ -66,7 +66,7 @@ libpoppler_qt4_la_LDFLAGS = -version-info 6:0:3 @create_shared_lib@ .h.moc: $(AM_V_GEN) $(MOCQT4) -i $< -o $@ -poppler-optcontent.lo: poppler-optcontent.moc +BUILT_SOURCES = poppler-optcontent.moc clean-generic: rm -f *.moc -- 1.6.4.2