Let binaries depending on GLib link against the libintl wrapper library in a way that libtool doesn't refuse
This commit is contained in:
parent
21cc61df31
commit
a6da1d27e5
@ -7,7 +7,7 @@
|
||||
|
||||
Name: mingw32-glib2
|
||||
Version: 2.26.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: MinGW Windows GLib2 library
|
||||
|
||||
License: LGPLv2+
|
||||
@ -133,6 +133,13 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc
|
||||
# Bash-completion files aren't interesting for mingw32
|
||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/bash_completion.d
|
||||
|
||||
# The libtool files refer to libintl while they shouldn't
|
||||
# Drop this reference manually
|
||||
find $RPM_BUILD_ROOT -name \*.la -exec sed -i s@' -lintl'@@ {} \;
|
||||
|
||||
# Let binaries depending on GLib link against the libintl wrapper library in a way that libtool doesn't refuse
|
||||
sed -i s@inherited_linker_flags=''@inherited_linker_flags='-Wl,%{_mingw32_libdir}/libintl.a -Wl,--exclude-libs=libintl.a'@ $RPM_BUILD_ROOT%{_mingw32_libdir}/libglib-2.0.la
|
||||
|
||||
%find_lang glib20
|
||||
|
||||
|
||||
@ -198,6 +205,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 17 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.26.0-3
|
||||
- Let binaries depending on GLib link against the libintl wrapper library
|
||||
in a way that libtool doesn't refuse
|
||||
|
||||
* Sat Oct 16 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.26.0-2
|
||||
- Rebuild in order to make libintl-8.dll a soft dependency
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user