[Xapian-discuss] java bindings 1.0.0 - jni.h not found
Olly Betts
olly at survex.com
Thu May 31 17:23:51 BST 2007
On Thu, May 31, 2007 at 11:51:35AM -0400, Jarrod Roberson wrote:
> System.getProperties("os.name") will return the "name" of the OS.
That will be the name of the OS that the build is running on, whereas if
we're cross-compiling, we want the OS that we're building *for* (the
"host" OS in GNU terminology).
While I doubt that many people will want to cross-compile JNI bindings
for Xapian, if we just use $host_os in configure we should get this
case right for free, so that's what I've done.
The current state of SVN HEAD should work pretty well, except that
if there's jni.h in /usr/include (from the GCJ toolchain, say) that
will always be used, whereas I think JAVA_HOME, etc should take
precedence. I'll have a look at sorting that out too.
Cheers,
Olly
More information about the Xapian-discuss
mailing list