Fix build with a Cygwin path for TARFILE_LOCATION

Change-Id: Ic5ff8eeaa7fb30ac3f880f0cff69119deccb2bca
This commit is contained in:
Tor Lillqvist
2012-10-08 17:21:08 +03:00
parent aa7705ef2a
commit 2a7b3d83d6

View File

@@ -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) \