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

This commit is contained in:
Erik van Pienbroek 2010-10-16 17:55:39 +02:00
parent 18bfafeb53
commit 21cc61df31

View File

@ -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