summaryrefslogtreecommitdiffstats
path: root/jvmfwk/source/fwkutil.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/source/fwkutil.hxx')
-rw-r--r--jvmfwk/source/fwkutil.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/jvmfwk/source/fwkutil.hxx b/jvmfwk/source/fwkutil.hxx
index 0411869f8b72..4c9ac047d130 100644
--- a/jvmfwk/source/fwkutil.hxx
+++ b/jvmfwk/source/fwkutil.hxx
@@ -19,6 +19,9 @@
#ifndef INCLUDED_JVMFWK_FWKUTIL_HXX
#define INCLUDED_JVMFWK_FWKUTIL_HXX
+#include <config_features.h>
+#include <config_folders.h>
+
#include "sal/config.h"
#include "osl/mutex.hxx"
#include "rtl/bootstrap.hxx"
@@ -47,6 +50,9 @@ struct Bootstrap :
const rtl::Bootstrap * operator () () {
OUStringBuffer buf(256);
buf.append(getLibraryLocation());
+#if HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE
+ buf.appendAscii( "/../" LIBO_ETC_FOLDER );
+#endif
buf.appendAscii(SAL_CONFIGFILE("/jvmfwk3"));
OUString sIni = buf.makeStringAndClear();
::rtl::Bootstrap * bootstrap = new ::rtl::Bootstrap(sIni);