summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <tchvatal@suse.cz>2011-09-17 05:29:48 +0200
committerTomas Chvatal <tchvatal@suse.cz>2011-09-17 05:29:48 +0200
commit0fbd4e60fcd62b75b9fd71370e43c5994f9be6c9 (patch)
treedc076a4f5b1fa68059ef3614a5939a5db2549aa2
parent395bb9c3c4009df73b797d77cf57e0fad97423d5 (diff)
Return soon if build with --without-java, as no checks are needed.
-rwxr-xr-xdesktop/unx/source/start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index 56efe959fa85..4da2c70a3d79 100755
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -813,6 +813,9 @@ static void extend_library_path (const char *new_element)
static void
exec_javaldx (Args *args)
{
+#ifndef SOLAR_JAVA
+ return 0;
+#endif
char newpath[4096];
sal_uInt32 nArgs;
rtl_uString *pApp;