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

[PATCH] swig-ra-fixes.patch

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2002-12-12 03:55:51 CET

Ooops, forgot to paste the log message.

* subversion/bindings/swig/svn_ra.i,
    subversion/bindings/swig/python/setup.py
    Fix _ra.so missing symbol errors at runtime for
    the python SWIG extension.

Index: subversion/bindings/swig/svn_ra.i
===================================================================
--- subversion/bindings/swig/svn_ra.i (revision 4095)
+++ subversion/bindings/swig/svn_ra.i (working copy)
@@ -36,4 +36,12 @@
   %include svn_ra.h
   %{
   #include "svn_ra.h"
+
+#ifdef SWIGPYTHON
+#include "swigutil_py.h"
+#endif
+
+#ifdef SWIGJAVA
+#include "swigutil_java.h"
+#endif
   %}
Index: subversion/bindings/swig/python/setup.py
===================================================================
--- subversion/bindings/swig/python/setup.py (revision 4095)
+++ subversion/bindings/swig/python/setup.py (working copy)
@@ -168,7 +168,7 @@
                               ),
                core.Extension("_ra",
                               [source_dir + "/svn_ra.i"],
- libraries=['svn_ra-1', 'swigpy'],
+ libraries=['svn_ra-1', 'svn_swig_py-1',
swigpy'],
                               library_dirs=library_dirs,
                               extra_compile_args=extra_compile_args,
                               extra_link_args=extra_link_args,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 12 00:53:09 2002

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