From 21cc61df3170c4eab77ef0609d11d0765f01a484 Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Sat, 16 Oct 2010 17:55:39 +0200 Subject: [PATCH] Make sure that libtool doesn't complain that it can't find the 'real file for library -lintl' --- mingw32-glib2.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mingw32-glib2.spec b/mingw32-glib2.spec index b2494e5..5b97a64 100644 --- a/mingw32-glib2.spec +++ b/mingw32-glib2.spec @@ -34,6 +34,11 @@ BuildRequires: glib2-devel Requires: pkgconfig +# As we're using libproxy-intl the libintl-8.dll dependency is a soft one +# To compile applications against glib2 we need to have gettext installed +# for it's headers +Requires: mingw32-gettext + %description MinGW Windows Glib2 library. @@ -55,6 +60,10 @@ Static version of the MinGW Windows GLib2 library. %build +# Make sure that libtool doesn't complain that it can't find +# the 'real file for library -lintl' +export lt_cv_deplibs_check_method="pass_all" + # GLib can't build static and shared libraries in one go, so we # build GLib twice here mkdir build_static