7fe50869fb
When the configuration cache has been filled with a value for ac_cv_host, host-lzo fails to detect the target system name. This is due to misbehaving code in the ./configure script. Therefore, we need to autoreconf the package, which in turn requires : * a little fix to the configure.ac file * a little fix to src/Makefile.am * an extraction of important parts of aclocal.m4 into acinclude.m4 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
681 B
Makefile
22 lines
681 B
Makefile
#############################################################
|
|
#
|
|
# lzo
|
|
#
|
|
#############################################################
|
|
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
|
|
|
|
$(eval $(call AUTOTARGETS,package,lzo))
|
|
$(eval $(call AUTOTARGETS,package,lzo,host))
|