Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2007-10-12 15:24:08 +0000
committerAndrew Niefer2007-10-12 15:24:08 +0000
commitb9b4d425c596a471fc2064474fedbc8234392734 (patch)
tree24e921316114b271a5f1ec1aaca0d77626e23e74 /bundles/org.eclipse.equinox.executable/library/motif
parenta3f6137e8e28096070d73b0d5564437634ea1aee (diff)
downloadrt.equinox.framework-b9b4d425c596a471fc2064474fedbc8234392734.tar.gz
rt.equinox.framework-b9b4d425c596a471fc2064474fedbc8234392734.tar.xz
rt.equinox.framework-b9b4d425c596a471fc2064474fedbc8234392734.zip
bug 168281
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/motif')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c2
-rw-r--r--bundles/org.eclipse.equinox.executable/library/motif/make_aix.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c b/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c
index d962b6a4f..ea9d8011a 100644
--- a/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c
+++ b/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c
@@ -285,6 +285,7 @@ int launchJavaVM( char* args[] )
fixEnvForMozilla();
#endif /* MOZILLA_FIX */
+#ifdef LINUX
{
/* put the root of eclipse on the LD_LIBRARY_PATH */
char * ldPath = (char*)getenv(_T_ECLIPSE("LD_LIBRARY_PATH"));
@@ -296,6 +297,7 @@ int launchJavaVM( char* args[] )
free(newPath);
}
}
+#endif
/* Create a child process for the JVM. */
jvmProcess = fork();
diff --git a/bundles/org.eclipse.equinox.executable/library/motif/make_aix.mak b/bundles/org.eclipse.equinox.executable/library/motif/make_aix.mak
index 4ec36125f..446bfe53e 100644
--- a/bundles/org.eclipse.equinox.executable/library/motif/make_aix.mak
+++ b/bundles/org.eclipse.equinox.executable/library/motif/make_aix.mak
@@ -37,7 +37,6 @@ EXEC = $(PROGRAM_OUTPUT)
DLL = $(PROGRAM_LIBRARY)
LIBS = -L$(MOTIF_HOME)/lib -ldl -lXm -lXt -lX11
MOTIF_LIBS = -DXM_LIB="\"libXm.a(shr_32.o)\"" -DXT_LIB="\"libXt.a(shr4.o)\"" -DX11_LIB="\"libX11.a(shr4.o)\""
-#MOTIF_LIBS = -DXM_LIB="NULL" -DXT_LIB="NULL" -DX11_LIB="NULL"
LFLAGS = -G -bnoentry -bexpall -lm -lc_r -lC_r
CFLAGS = -O -s \
-DMOTIF \
@@ -46,7 +45,6 @@ CFLAGS = -O -s \
-DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
-DDEFAULT_WS="\"$(DEFAULT_WS)\"" \
$(MOTIF_LIBS) \
- -DDEFAULT_JAVA_EXEC \
-DAIX \
-I./ \
-I../ \

Back to the top