summaryrefslogtreecommitdiff
path: root/libxslt
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-05 22:25:59 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-05 22:26:39 +0200
commit6cd3968702ade141869d93600ac12afe56591354 (patch)
tree338855f7d0d494165b3c9b010f18dcb2519b852b /libxslt
parentf5fe1b97557cc71eda9ed754bb70ec730df366e3 (diff)
No xsltproc needed for HOST when cross-compiling
Change-Id: I70b257fb2df8e0ea1ef2d94b3da7da7989e3535e
Diffstat (limited to 'libxslt')
-rw-r--r--libxslt/ExternalPackage_xslt.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libxslt/ExternalPackage_xslt.mk b/libxslt/ExternalPackage_xslt.mk
index d67209503493..a00717185883 100644
--- a/libxslt/ExternalPackage_xslt.mk
+++ b/libxslt/ExternalPackage_xslt.mk
@@ -24,7 +24,9 @@ $(eval $(call gb_ExternalPackage_add_file,xslt,bin/xsltproc,xsltproc/.libs/xsltp
else ifeq ($(DISABLE_DYNLOADING),TRUE)
$(eval $(call gb_ExternalPackage_add_file,xslt,lib/libxslt.a,libxslt/.libs/libxslt.a))
$(eval $(call gb_ExternalPackage_add_file,xslt,lib/libexslt.a,libexslt/.libs/libexslt.a))
+ifneq ($(CROSS_COMPILING),YES)
$(eval $(call gb_ExternalPackage_add_file,xslt,bin/xsltproc,xsltproc/xsltproc))
+endif
else ifeq ($(OS),WNT)
ifeq ($(COM),GCC)
$(eval $(call gb_ExternalPackage_add_file,xslt,lib/libxslt.dll.a,libxslt/.libs/libxslt.dll.a))