summaryrefslogtreecommitdiff
path: root/libtextcat
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-06 08:57:32 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-06 08:57:32 +0300
commit47ef127cb4f217c00bd7b382008be6e7444af93e (patch)
tree74626f58a10ac077e26aa0fe6c56d573703702d7 /libtextcat
parent5cf5db763f05928d88fea377e43f8488c990129f (diff)
Always compare CROSS_COMPILING explicitly to "YES"
Diffstat (limited to 'libtextcat')
-rw-r--r--libtextcat/makefile.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtextcat/makefile.mk b/libtextcat/makefile.mk
index 74b180490b46..d47c130dc617 100644
--- a/libtextcat/makefile.mk
+++ b/libtextcat/makefile.mk
@@ -67,8 +67,8 @@ CONFIGURE_FLAGS+= CFLAGS=-D_LINUX_SOURCE_COMPAT
.IF "$(OS)"=="IOS"
CONFIGURE_FLAGS+= --disable-shared
.ENDIF
-.IF "$(CROSS_COMPILING)"!=""
-CONFIGURE_FLAGS+= --build="$(BUILD_PLATFORM)" --host="$(HOST_PLATFORM)"
+.IF "$(CROSS_COMPILING)"=="YES"
+CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF
BUILD_ACTION=make