[mingw-glib2: 36/68] Make sure that libtool doesn't complain that it can't find the 'real file for library -lintl'

epienbro epienbro at fedoraproject.org
Tue Mar 6 19:54:53 UTC 2012


commit 21cc61df3170c4eab77ef0609d11d0765f01a484
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Sat Oct 16 17:55:39 2010 +0200

    Make sure that libtool doesn't complain that it can't find the 'real file for library -lintl'

 mingw32-glib2.spec |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
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


More information about the scm-commits mailing list