From c16fa4bb7829415a8e647d2375330ca074d020de Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Fri, 4 Nov 2005 21:07:56 +0000 Subject: [PATCH] Added compile and link flags. --- configure/os/CONFIG.Common.win32-x86-cygwin | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure/os/CONFIG.Common.win32-x86-cygwin b/configure/os/CONFIG.Common.win32-x86-cygwin index 94271bc86..2847a2969 100644 --- a/configure/os/CONFIG.Common.win32-x86-cygwin +++ b/configure/os/CONFIG.Common.win32-x86-cygwin @@ -25,12 +25,14 @@ RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%) # Library used when COMMANDLINE_LIBRARY is READLINE LDLIBS_READLINE = -lreadline +#======== THESE 4 LINES MAY NOT BE NECESSARY =============== OP_SYS_CPPFLAGS = -D_WIN32=1 -D__WIN32=1 -D__MINGW32__=1 -DWIN32=1 -D__WIN32__=1 -DWINNT=1 OP_SYS_CPPFLAGS += -U__unix__ -Uunix -U__CYGWIN__ -U__unix -U__CYGWIN32__ OP_SYS_CPPFLAGS += -D__MSVCRT__ - OP_SYS_CXXFLAGS += -D__cplusplus -OP_SYS_LDLIBS = +OP_SYS_CPPFLAGS += -mno-cygwin +OP_SYS_LDFLAGS += -mno-cygwin +OP_SYS_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm