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

[PATCH] libsvn_swig_ruby as dll for windows builds

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-01-04 16:40:22 CET

Hi,

Creating libsvn_swig_ruby as a dll instead of a lib on the windows
build allows the ruby bindings tests to run (they still don't pass,
but at least there are no access violations). I've only run this with
the other patches I've posted.

[[[
* build.conf
  for libsvn_swig_ruby set msvc-static to 'no' instead of 'yes'

* subversion/bindings/swig/ruby/test/run-test.rb
  copy the libsvn_swig_ruby-1.dll to the ext directory for testing
  add the ext directory to the path so libsvn_swig_ruby-1.dll can be
found to load

* subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h
* subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
  mimic the way that libsvn_swig_py causes its functions to be exported or not
  for a windows build.

]]]

--
Joe Swatosh


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

Received on Thu Jan 4 16:40:34 2007

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