[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Create dll for libsvn_swig_py library in windows

From: Marc Haesen <Marc.Haesen_at_telindus.be>
Date: 2005-09-27 08:50:16 CEST

[[[
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
]]]

Remark that the patch file was generated in windows, meaning CR LF line endings!

32nd International Telindus Symposium
Thursday, 27 October 2005, Brussels Expo, Belgium

Innovision: see how ICT empowers your vision and enables innovation.
The one-day ICT event for business professionals!

Programme and free registration > http://www.telindussymposium.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Sep 27 08:51:12 2005

This is an archived mail posted to the Subversion Dev mailing list.