[mingw-gettext] Fix the build on RHEL6 (too old libtool)

Erik van Pienbroek epienbro at fedoraproject.org
Thu Dec 6 10:46:40 UTC 2012


commit 9a881a0e6ea6ae5121fe894d15e943c904112e6d
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Thu Dec 6 11:46:37 2012 +0100

    Fix the build on RHEL6 (too old libtool)

 mingw-gettext.spec |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/mingw-gettext.spec b/mingw-gettext.spec
index e2e0dc6..8f7e628 100644
--- a/mingw-gettext.spec
+++ b/mingw-gettext.spec
@@ -1,11 +1,8 @@
 %?mingw_package_header
 
-%global mingw_build_win32 1
-%global mingw_build_win64 1
-
 Name:      mingw-gettext
 Version:   0.18.1.1
-Release:   10%{?dist}
+Release:   11%{?dist}
 Summary:   GNU libraries and utilities for producing multi-lingual messages
 
 License:   GPLv2+ and LGPLv2+
@@ -93,6 +90,12 @@ autoreconf -i --force
 # Some build workarounds
 export gl_cv_func_memchr_works="yes"
 export ac_cv_func_strnlen_working="yes"
+
+# The libtool on RHEL6 is too old for win64 support
+%if 0%{?rhel} == 6
+export lt_cv_deplibs_check_method="pass_all"
+%endif
+
 %mingw_configure            \
     --disable-java          \
     --disable-native-java   \
@@ -200,6 +203,10 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
 
 
 %changelog
+* Thu Dec  6 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.18.1.1-11
+- Fix the build on RHEL6 (too old libtool)
+- Minor cleanup
+
 * Sun Jul 22 2012 Kalev Lember <kalevlember at gmail.com> - 0.18.1.1-10
 - Fix message catalog split to subpackages (#842166)
 


More information about the mingw mailing list