From 1e0ecdb3fe878f8ac19282d179ab964b860cf85d Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 5 Apr 2004 14:38:30 +0000 Subject: [PATCH] Added definitions for runtime libraries. --- configure/os/CONFIG.Common.win32-x86-cygwin | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure/os/CONFIG.Common.win32-x86-cygwin b/configure/os/CONFIG.Common.win32-x86-cygwin index 819a0d735..38bd1c0a6 100644 --- a/configure/os/CONFIG.Common.win32-x86-cygwin +++ b/configure/os/CONFIG.Common.win32-x86-cygwin @@ -19,7 +19,14 @@ EXE=.exe # _POSIX_SOURCE eliminates select() POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS #POSIX_LDLIBS_YES += -lpthread +POSIX_LDLIBS_YES += -lpthread ARCH_DEP_CPPFLAGS += -D_X86_ OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32 + +# Set runtime path for shared libraries +RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%) + +LDLIBS_READLINE = -lcygreadline5 -lcygcurses7 +