summaryrefslogtreecommitdiff
path: root/libjava/gnu/classpath/natSystemProperties.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/classpath/natSystemProperties.cc')
-rw-r--r--libjava/gnu/classpath/natSystemProperties.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/gnu/classpath/natSystemProperties.cc b/libjava/gnu/classpath/natSystemProperties.cc
index e78ca74e745..958fdcbaf18 100644
--- a/libjava/gnu/classpath/natSystemProperties.cc
+++ b/libjava/gnu/classpath/natSystemProperties.cc
@@ -183,11 +183,11 @@ gnu::classpath::SystemProperties::insertSystemProperties (java::util::Properties
// redefine `java.home' with `-D' if necessary.
SET ("java.home", JAVA_HOME);
SET ("gnu.classpath.home", PREFIX);
- // This is set to $(libdir) because we use this to find .security
- // files at runtime.
- char val2[sizeof ("file://") + sizeof (LIBDIR) + 1];
+ // This is set to $(toolexeclibdir) because we use this to find
+ // .security files at runtime.
+ char val2[sizeof ("file://") + sizeof (TOOLEXECLIBDIR) + 1];
strcpy (val2, "file://");
- strcat (val2, LIBDIR);
+ strcat (val2, TOOLEXECLIBDIR);
SET ("gnu.classpath.home.url", val2);
SET ("file.encoding", default_file_encoding);