contrib/makefile: tweak for cygwin. not tested. Feedback welcome
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 3 Nov 2005 09:26:26 +0000 (09:26 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 3 Nov 2005 09:26:26 +0000 (09:26 +0000)
extras/contrib/src/Makefile

index ca1595a..03e344f 100644 (file)
@@ -58,8 +58,10 @@ endif
 ifeq ($(HOST),i586-mingw32msvc)
 HAVE_WIN32=1
 endif
-ifeq ($(HOST),cygwin)
+ifeq ($(HOST),i686-pc-cygwin)
 HAVE_WIN32=1
+EXTRA_CFLAGS=-mno-cygwin
+EXTRA_LDFLAGS=-mno-cygwin
 endif
 ifdef HAVE_WIN32
 export PATH := $(PREFIX)/bin:$(PATH)