summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-13 13:29:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-13 20:31:42 +0100
commitaba4270b310fb32cc96e2094c6b72794890e1260 (patch)
treee7837e1f24d3324aa0a1f778a819f918f9a0845d /jvmfwk
parentda307f47614d485aa241a9d7fa13d06aa248aeac (diff)
tweaks for AIX
Diffstat (limited to 'jvmfwk')
-rwxr-xr-xjvmfwk/distributions/OpenOfficeorg/makefile.mk2
-rw-r--r--jvmfwk/source/fwkutil.cxx4
2 files changed, 4 insertions, 2 deletions
diff --git a/jvmfwk/distributions/OpenOfficeorg/makefile.mk b/jvmfwk/distributions/OpenOfficeorg/makefile.mk
index a6ba7a237..36e8e8d6c 100755
--- a/jvmfwk/distributions/OpenOfficeorg/makefile.mk
+++ b/jvmfwk/distributions/OpenOfficeorg/makefile.mk
@@ -43,7 +43,7 @@ $(BIN)$/javavendors.xml: javavendors_unx.xml javavendors_wnt.xml javavendors_mac
-$(COPY) javavendors_freebsd.xml $(BIN)$/javavendors.xml
.ELIF "$(OS)"=="MACOSX"
-$(COPY) javavendors_macosx.xml $(BIN)$/javavendors.xml
-.ELIF "$(OS)"=="LINUX"
+.ELIF "$(OS)"=="LINUX" || "$(OS)"=="AIX"
-$(COPY) javavendors_linux.xml $(BIN)$/javavendors.xml
.ELSE
-$(COPY) javavendors_unx.xml $(BIN)$/javavendors.xml
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx
index a50ed090a..51a0d2678 100644
--- a/jvmfwk/source/fwkutil.cxx
+++ b/jvmfwk/source/fwkutil.cxx
@@ -270,8 +270,10 @@ rtl::OUString findPlugin(
{
rtl::OUString url;
#ifdef UNX
-#ifdef MACOSX
+#if defined(MACOSX)
rtl::OUString path = rtl::OUString::createFromAscii("DYLD_LIBRARY_PATH");
+#elif defined(AIX)
+ rtl::OUString path = rtl::OUString::createFromAscii("LIBPATH");
#else
rtl::OUString path = rtl::OUString::createFromAscii("LD_LIBRARY_PATH");
#endif