Marc Haesen wrote:
>[[[
>Solves crashing problem of python bindings in windows by compiling the libsvn_swig_py library to a dll in windows.
>
>* build.conf
> set mscv-static to no for libsvn_swig_py library
>* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
> Define COMPILE_SWIGUTIL before including swigutil_py.h
>* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h
> Define SWIGUTILEXPORT as __declspec(dllexport) when compiling libsvn_swig_py module in windows
> Define SWIGUTILEXPORT as __declspec(dllimport) when included in other modules in windows
> SWIGUTILEXPORT is empty when WIN32 is not defined
> Put SWIGUTILEXPORT in front of every global function declaration and every extern variable
>]]]
>
>
This patch will obviouslz break the Unix build, because SWIGUTILEXPORT
doesn't get defined there. Apart from that, it's an interesting idea;
I'll see what I can do with this patch.
(BTW, please read
http://svn.collab.net/repos/svn/trunk/www/hacking.html#log-messages.)
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 27 13:25:19 2005