From 537f9954bf05dd26803831e6eefee3c8893c185b Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 11 Dec 2006 18:20:32 +0000 Subject: [PATCH] Dont do a STATIC build. --- configure/os/CONFIG.Common.win32-x86-mingw | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure/os/CONFIG.Common.win32-x86-mingw b/configure/os/CONFIG.Common.win32-x86-mingw index feddffb01..908a0e0a8 100644 --- a/configure/os/CONFIG.Common.win32-x86-mingw +++ b/configure/os/CONFIG.Common.win32-x86-mingw @@ -18,9 +18,13 @@ EXE=.exe # Library used when COMMANDLINE_LIBRARY is READLINE LDLIBS_READLINE = -lreadline -STATIC_BUILD=YES -STATIC_LDLIBS_YES=-lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm +# Set runtime path for shared libraries +SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%) + +# Set runtime path for products +PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%) + # Compiler defines _X86_ 1 @@ -42,3 +46,6 @@ OP_SYS_CXXFLAGS += -D__cplusplus LIBRARY_LD_RESS= +OP_SYS_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm +#STATIC_LDLIBS_YES=-lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm +