2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-01-09 03:34:10 +01:00
|
|
|
#
|
|
|
|
# libtool
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-05-28 23:11:57 +02:00
|
|
|
LIBTOOL_VERSION = 2.4.2
|
2013-09-06 08:14:15 +02:00
|
|
|
LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.xz
|
2009-03-23 22:46:51 +01:00
|
|
|
LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
|
2011-09-29 10:40:58 +02:00
|
|
|
LIBTOOL_INSTALL_STAGING = YES
|
2012-11-13 02:05:46 +01:00
|
|
|
LIBTOOL_LICENSE = GPLv2+
|
|
|
|
LIBTOOL_LICENSE_FILES = COPYING
|
2003-01-09 03:34:10 +01:00
|
|
|
|
2010-10-09 12:52:54 +02:00
|
|
|
HOST_LIBTOOL_LIBTOOL_PATCH = NO
|
|
|
|
|
2014-02-21 00:09:47 +01:00
|
|
|
# libtool-mips64-n64-linking.post-install-patch is an upstream patch that
|
|
|
|
# fixes MIPS64 n64 link failures. However, because the patch touches an m4
|
|
|
|
# file, applying it triggers a run of autoconf, automake, etc. This sometimes
|
|
|
|
# leads to build failures due to incompatible system autotools. We cannot
|
|
|
|
# simply set HOST_LIBTOOL_AUTORECONF = YES because that would create a
|
|
|
|
# circular dependency on host-libtool. Therefore, just apply the patch
|
|
|
|
# directly on the installed file.
|
|
|
|
define HOST_LIBTOOL_FIXUP_LIBTOOL_M4
|
|
|
|
patch $(HOST_DIR)/usr/share/aclocal/libtool.m4 < \
|
|
|
|
package/libtool/libtool-mips64-n64-linking.post-install-patch
|
|
|
|
endef
|
|
|
|
HOST_LIBTOOL_POST_INSTALL_HOOKS += HOST_LIBTOOL_FIXUP_LIBTOOL_M4
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|
2007-06-28 15:51:07 +02:00
|
|
|
|
2009-11-01 23:40:02 +01:00
|
|
|
# variables used by other packages
|
2013-01-20 10:45:47 +01:00
|
|
|
LIBTOOL = $(HOST_DIR)/usr/bin/libtool
|
|
|
|
LIBTOOLIZE = $(HOST_DIR)/usr/bin/libtoolize
|