--- ./config/cf/save_mingw.rules 2005-09-24 12:41:55.000000000 +0100 +++ ./config/cf/mingw.rules 2005-09-24 12:32:34.000000000 +0100 @@ -2,44 +2,19 @@ * Cygwin shared library rules (DLL versions) */ -/* - * Do shared libs make sense for mingw? - * Maybe, but it adds extra problems, so we stick with static libs so far - */ -#ifndef HasSharedLibraries -# define HasSharedLibraries NO -#endif - +# define HasSharedLibraries YES #define NeedLibInsideFlag NO #define ForceNormalLib NO -#if HasSharedLibraries -# define SharedLibX11 YES -# define SharedLibXaw YES -# define SharedLibXmu YES -# define SharedLibXt YES +# define NormalLibX11 NO # define SharedLibFont NO # define SharedLibFontEnc NO -# define SharedLibXaw7 YES -# define SharedLibXaw6 YES -# define SharedLibSM YES -# define SharedLibICE YES -# define SharedLibXext YES -# define SharedLibXi YES -# define SharedLibXtst YES -# define SharedOldX YES -# define SharedLibXp YES -# define SharedLibGlx YES -# define SharedLibDps YES -# define SharedLibDpsTk YES -# define SharedLibGlu YES # define SharedLibWindowsWM NO # define SharedLibFreetype2 NO # define SharedLibxkbfile NO -#endif - #ifndef SharedDataSeparation # define SharedDataSeparation NO #endif + #ifndef SharedCodeDef #define SharedCodeDef /**/ #endif @@ -186,7 +161,7 @@ */ #define MakeDLLProg(libname,solist,prog,rev) @@\ - prog -shared -Wl,--out-implib=ImportLibraryName(libname,rev) -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc -Wl,--exclude-libs,ALL -o SharedLibraryName(libname,rev) solist $(REQUIREDLIBS) + prog -shared -Wl,--out-implib=ImportLibraryName(libname,rev) -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc -Wl,--exclude-libs,ALL -o SharedLibraryName(libname,rev) solist $(REQUIREDLIBS) -lws2_32 /* * MakeDll