summaryrefslogtreecommitdiff
path: root/clucene
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-23 15:06:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-23 15:06:27 +0000
commitc31e1bae8e9ba6cc90f4585f5d8aeab29cb5263a (patch)
tree8841ad95d26b5c5e463021c1f2b223a887ef09f0 /clucene
parenta6ff118c4fdb3af7702c463d995df38742da3464 (diff)
fix for cross-compiling
Diffstat (limited to 'clucene')
-rw-r--r--clucene/Package_source.mk2
-rw-r--r--clucene/source/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/clucene/Package_source.mk b/clucene/Package_source.mk
index fdcbb2e17501..c1bf7817e5a4 100644
--- a/clucene/Package_source.mk
+++ b/clucene/Package_source.mk
@@ -35,7 +35,7 @@ $(eval $(call gb_CustomTarget_add_dependencies,clucene/source,\
clucene/configs/clucene-config-generic.h \
))
-ifeq ($(OS),WNT)
+ifeq ($(OS_FOR_BUILD),WNT)
FIXED_TARFILE_LOCATION=$(shell cygpath -u $(TARFILE_LOCATION))
else
FIXED_TARFILE_LOCATION=$(TARFILE_LOCATION)
diff --git a/clucene/source/Makefile b/clucene/source/Makefile
index 121d80518fec..f7672bc7eaf4 100644
--- a/clucene/source/Makefile
+++ b/clucene/source/Makefile
@@ -29,7 +29,7 @@
gb_PARTIALBUILD := T
include $(GBUILDDIR)/gbuild_simple.mk
-ifeq ($(OS),WNT)
+ifeq ($(OS_FOR_BUILD),WNT)
FIXED_TARFILE_LOCATION=$(shell cygpath -u $(TARFILE_LOCATION))
else
FIXED_TARFILE_LOCATION=$(TARFILE_LOCATION)