Re: Patch for LIBRARY_PATH support in gjl
Petteri Räty <[email protected]>
| Newsgroups | gmane.linux.gentoo.java |
|---|---|
| Message-ID | <[email protected]> |
Alistair John Bush kirjoitti:
>
>
> and the patch
>
> $ svn diff gjl
> Index: gjl
> ===================================================================
> --- gjl (revision 4648)
> +++ gjl (working copy)
> @@ -113,6 +113,11 @@
> args += ' -classpath %s' % (classpath)
>
> if library:
> + envlp = os.getenv('JAVA_LIBRARY_PATH')
> +
> + if envlp:
> + library = ':'.join(('/lib:/usr/lib', envlp, library))
> +
> args += ' -Djava.library.path="%s"' % (library)
>
> if args:
>
>
> As you can see, I have prefixed '/lib:/usr/lib' to java.library.path
>
> I will commit this to trunk latter tonight. Is there any other
> development occuring in trunk atm? How about unreleased functionality?
>
Trunk was just released as 2.0.32 so there shouldn't be anything
unreleased. You didn't my idea of appending to LD_LIBRARY_PATH in order
to not overwrite the default?
Regards,
Petteri
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGSYWgcxLzpIGCsLQRAgrAAJ9lTejO6N32pyk7XoXm2yWdIMKGgwCgkJIv 9BPEUEgSbFNZi/K02N1wkeA= =ypAe -----END PGP SIGNATURE-----