| changeset 798 | 8331baea2dc9 |
| parent 770 | c2eacca29601 |
| child 804 | 3288a1c6d133 |
--- a/Makefile Thu Dec 23 22:45:24 2004 +0000 +++ b/Makefile Thu Dec 23 23:15:07 2004 +0000 @@ -333,15 +333,17 @@ endif endif -# If building on Cygwin/MingW don't link with Cygwin libs +# If building on MingW don't link with Cygwin libs ifdef WIN32 +ifdef CYGWIN +BASECFLAGS += -mwin32 +LDFLAGS += -mwin32 +endif ifdef MINGW -ifdef CYGWIN BASECFLAGS += -mno-cygwin LDFLAGS += -mno-cygwin endif endif -endif CFLAGS += $(BASECFLAGS)