summaryrefslogtreecommitdiff
path: root/rhino
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-10-08 17:21:08 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-10-08 17:21:32 +0300
commit2a7b3d83d682102eaf1c77d7e12e698db26fdd13 (patch)
treeba37a836b1d9c24c52c4234ff09ce92d557d046f /rhino
parentaa7705ef2a359d62201206ce4961547fe9a00422 (diff)
Fix build with a Cygwin path for TARFILE_LOCATION
Change-Id: Ic5ff8eeaa7fb30ac3f880f0cff69119deccb2bca
Diffstat (limited to 'rhino')
-rw-r--r--rhino/ExternalProject_rhino.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhino/ExternalProject_rhino.mk b/rhino/ExternalProject_rhino.mk
index 0ca364e59c09..6a6039323e67 100644
--- a/rhino/ExternalProject_rhino.mk
+++ b/rhino/ExternalProject_rhino.mk
@@ -24,7 +24,7 @@ $(call gb_ExternalProject_get_state_target,rhino,build) :
-q \
-f build.xml \
-Dbuild.label="build-$(RSCREVISION)" \
- -DTARFILE_LOCATION="$(TARFILE_LOCATION)" \
+ -DTARFILE_LOCATION="$(if $(findstring -cygwin,$(BUILD_PLATFORM)),$(shell cygpath -m $(TARFILE_LOCATION)),$(TARFILE_LOCATION))" \
$(if $(filter yes,$(JAVACISGCJ))\
,-Dbuild.compiler=gcj \
,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \