[ekiga/gnome-2-26] [windows] Check the version of mingw32-runtime upon building
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/gnome-2-26] [windows] Check the version of mingw32-runtime upon building
- Date: Sun, 18 Apr 2010 21:11:31 +0000 (UTC)
commit 9db7fd7889e0f6b4fe812bbd08722ee0ed559773
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Sun Apr 18 23:10:07 2010 +0200
[windows] Check the version of mingw32-runtime upon building
http://www.mail-archive.com/ekiga-devel-list gnome org/msg02790.html
gives more information (thanks Michael Rickmann!)
win32/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/win32/Makefile b/win32/Makefile
index 76ccd44..e6d6606 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -281,7 +281,8 @@ binaries:
[ -f /usr/lib/pkgconfig/avahi-client.pc ] || (echo libavahi-client-dev not installed; exit 1)
hash makensis || (echo nsis not installed; exit 1)
hash xmlto || (echo xmlto not installed; exit 1)
-# [ $(BUILDROOT) = $(CURDIR) ] || (echo You are supposed to run this as Makefile in $(BUILDROOT); exit 1)
+# [ $(BUILDROOT) = $(CURDIR) ] || (echo You are supposed to run this as Makefile in $(BUILDROOT); exit 1)
+ [ `grep define.*MINGW32_MINOR_VERSION /usr/i586-mingw32msvc/include/_mingw.h|cut -d" " -f3` -ge 15 ] || (echo 'You need mingw32-runtime at version >= 3.15'; exit 1)
mkdir -p $(INCLUDEDIR) $(LIBDIR)/pkgconfig $(SRCDIR) $(BINDIR)
$(RM) -f $(BINDIR)/cygpath
ln -s /bin/true $(BINDIR)/cygpath
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]