summaryrefslogtreecommitdiff
path: root/package/lzo/lzo.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/lzo/lzo.mk')
-rw-r--r--package/lzo/lzo.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk
index ed300562e..bfa66792d 100644
--- a/package/lzo/lzo.mk
+++ b/package/lzo/lzo.mk
@@ -7,6 +7,12 @@ LZO_VERSION:=2.03
LZO_SOURCE:=lzo-$(LZO_VERSION).tar.gz
LZO_SITE:=http://www.oberhumer.com/opensource/lzo/download
LZO_AUTORECONF = NO
+
+# lzo's configure was generated by an old autoconf, and the
+# AC_CANONICAL_TARGET check fails in host-lzo when the cache has been
+# filled with ac_cv_build and ac_cv_host.
+HOST_LZO_AUTORECONF = YES
+
LZO_INSTALL_STAGING = YES
LZO_INSTALL_TARGET = YES
LZO_INSTALL_STAGING_OPT = CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) install