Patch: RFA: set LD_LIBRARY_PATH
Thomas Fitzsimmons
fitzsim@redhat.com
Fri Sep 2 01:09:00 GMT 2005
Hi,
Sun's JRE includes $JAVA_HOME/lib/<arch> in its LD_LIBRARY_PATH so that
users don't need to specify LD_LIBRARY_PATH manually. This patch makes
libgcj do the same when the --with-java-home configure option is
specified.
OK for mainline?
Tom
2005-09-01 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/21741
* configure.ac (JAVA_HOME_SET): Define when --with-java-home is
specified.
* configure: Regenerate.
* gnu/classpath/natSystemProperties.cc (insertSystemProperties)
[JAVA_HOME_SET]: Prepend JAVA_HOME/lib/arch to LD_LIBRARY_PATH.
Set java.library.path to value of LD_LIBRARY_PATH if it is set.
* include/config.h.in: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcj-java-library-path.patch
Type: text/x-patch
Size: 3838 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050902/362c55cb/attachment.bin>
More information about the Java-patches
mailing list