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

Re: [PATCH] gen_base.py should not generate reference to nonexistent library swigjava

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2003-02-08 01:05:42 CET

Committed with minor modifications.

Daniel Rall <dlr@finemaltcoding.com> writes:

> Kai Nacke <kai.nacke@redstar.de> writes:
>
> > Hi all!
> >
> > I am playing around with SWIG 1.3.17 and the java bindings for subversion. I
> > noticed that the build system tries to link with the external library libswigjava.
> > But there is no such runtime library. (SWIG comes with libraries for Python,
> > Tcl, Ruby and so on, but not for java.)
> >
> > This patch fixes the gen_base.py script.
> >
> > * build/gen_base.py
> > (TargetSWIG.add_dependencies) Dependency to SWIG runtime library will
> > only be added if target language is not java.
> >
> >
> > Index: build/gen_base.py
> > ===================================================================
> > --- build/gen_base.py (revision 4764)
> > +++ build/gen_base.py (working copy)
> > @@ -520,7 +520,8 @@
> >
> > # add some language-specific libraries
> > ### fix this. get these from the .conf file
> > - graph.add(DT_LINK, library, ExternalLibrary('-lswig' + abbrev))
> > + if abbrev <> 'java':
> > + graph.add(DT_LINK, library, ExternalLibrary('-lswig' + abbrev))
> > ### fix this, too. find the right Target swigutil lib. we know there
> > ### will be only one.
> > util = graph.get_sources(DT_INSTALL, 'swig-%s-lib' % abbrev)[0]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 8 01:06:17 2003

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