diff options
author | Enrico Weigelt, metux ITS <metuxitservice@googlemail.com> | 2012-11-14 18:19:26 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-16 12:40:28 +0000 |
commit | 60d2248aef20aa1363ef8624ff303c854c68dafe (patch) | |
tree | 01b47a329e4dea1dd948be2579262737af7acc5c | |
parent | 5138bde880dcd9c7cf7f0d5ff57510d4d6702846 (diff) |
fixed java classpath parameter (required for gcj)
Change-Id: I0ad426a8791ab514978e01914f9f797b45d0c79a
Reviewed-on: https://gerrit.libreoffice.org/1073
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | solenv/gbuild/JavaClassSet.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/JunitTest.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/JavaClassSet.mk b/solenv/gbuild/JavaClassSet.mk index b5b743995e50..fab3ae437cd0 100644 --- a/solenv/gbuild/JavaClassSet.mk +++ b/solenv/gbuild/JavaClassSet.mk @@ -47,7 +47,7 @@ $(call gb_Helper_abbreviate_dirs,\ $(filter-out $(JARDEPS),$(4))) && \ $(if $(3),$(gb_JavaClassSet_JAVACCOMMAND) \ $(gb_JavaClassSet_JAVACDEBUG) \ - -cp "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \ + -classpath "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \ -d $(call gb_JavaClassSet_get_classdir,$(2)) \ @$$RESPONSEFILE &&) \ rm -f $$RESPONSEFILE &&) \ diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk index fbe87fd27c38..6ed1f779bcad 100644 --- a/solenv/gbuild/JunitTest.mk +++ b/solenv/gbuild/JunitTest.mk @@ -49,7 +49,7 @@ $(call gb_JunitTest_get_target,%) : mkdir -p $(call gb_JunitTest_get_userdir,$*) && \ (DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t \ $(gb_JunitTest_JAVACOMMAND) \ - -cp "$(T_CP)" \ + -classpath "$(T_CP)" \ $(DEFS) \ org.junit.runner.JUnitCore \ $(CLASSES) > $@.log 2>&1 || \ |