aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu')
-rw-r--r--libjava/gnu/classpath/natSystemProperties.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/gnu/classpath/natSystemProperties.cc b/libjava/gnu/classpath/natSystemProperties.cc
index d4f6109..7e00595 100644
--- a/libjava/gnu/classpath/natSystemProperties.cc
+++ b/libjava/gnu/classpath/natSystemProperties.cc
@@ -38,13 +38,15 @@ details. */
#include <java/lang/String.h>
#include <jni.h>
+char *_Jv_Module_Load_Path = NULL;
+
#ifdef USE_LTDL
#include <ltdl.h>
void
_Jv_SetDLLSearchPath (const char *path)
{
- lt_dlsetsearchpath (path);
+ _Jv_Module_Load_Path = strdup (path);
}
#else