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

Re: [PATCH] Can't test JavaHL bindings before installation (Issue #2040)

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-09-12 22:09:19 CEST

On Sun, 2004-09-12 at 15:50, David James wrote:
> This patch is slightly different from the original patch submitted
> earlier today to the issue tracker by Holger Thon. I have upgraded his
> patch to also work in a VPATH setup. (E.g. build directory != src
> directory) The new patch is attached.

+ $(JAVA) -Djava.library.path=subversion/bindings/java/javahl/native/.libs:$(libdir) -classpath

>From conversations I've had on IRC (about the same problem as it applies
to the swig bindings), I don't think this approach will work on all
platforms and/or with all versions of libtool. One is not really
supposed to know about libtool's .libs subdir, and attempting to link
against libraries located there without going through libtool is not
guaranteed to work.

On the other hand, since there's no way to do this right within the
libtool context, perhaps doing it the wrong way and letting it work
where it works and fail where it fails is the best answer. Anyone else
have opinions on the matter?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 12 22:09:48 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.