From 3489ccdefe77c8e8203baedbabbd5a252ab92079 Mon Sep 17 00:00:00 2001 From: fitzsim Date: Thu, 8 Sep 2005 21:26:25 +0000 Subject: 2005-09-08 Thomas Fitzsimmons PR libgcj/23761 * include/java-props.h (_Jv_Module_Load_Path): Declare variable. * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after lt_dlinit. * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path): Define variable. (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set _Jv_Module_Load_Path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104044 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/gnu/classpath/natSystemProperties.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libjava/gnu/classpath/natSystemProperties.cc') diff --git a/libjava/gnu/classpath/natSystemProperties.cc b/libjava/gnu/classpath/natSystemProperties.cc index d4f610951af..7e00595c6d7 100644 --- a/libjava/gnu/classpath/natSystemProperties.cc +++ b/libjava/gnu/classpath/natSystemProperties.cc @@ -38,13 +38,15 @@ details. */ #include #include +char *_Jv_Module_Load_Path = NULL; + #ifdef USE_LTDL #include void _Jv_SetDLLSearchPath (const char *path) { - lt_dlsetsearchpath (path); + _Jv_Module_Load_Path = strdup (path); } #else -- cgit v1.2.3