[matroska] r1069 - trunk/libmatroska/make/linux

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: mosu
Date: 2005-02-06 21:12:08 +0300 (Sun, 06 Feb 2005)
New Revision: 1069

Modified:
   trunk/libmatroska/make/linux/Makefile
Log:
Output an error if a mingw gcc is used with the Linux Makefile (I simply do that too often).


Modified: trunk/libmatroska/make/linux/Makefile
===================================================================
--- trunk/libmatroska/make/linux/Makefile	2005-02-06 18:11:15 UTC (rev 1068)
+++ trunk/libmatroska/make/linux/Makefile	2005-02-06 18:12:08 UTC (rev 1069)
@@ -29,6 +29,10 @@
 INSTALL_OPTS_LIB = -m 644
 INSTALL_DIR_OPTS = -m 755
 
+ifneq (,$(shell $(CXX) -v 2>&1 | tail -n 1 | grep -i mingw))
+$(error Please use the Makefile in ../mingw32)
+endif
+
 CWD=$(shell pwd)
 
 # Options
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.