2 # Copyright (C) 2008-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_CPE_ID
:=cpe
:/a
:gnu
:libtool
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=@GNU
/$(PKG_NAME
)
15 PKG_HASH
:=04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8
17 HOST_BUILD_PARALLEL
:=1
19 include $(INCLUDE_DIR
)/host-build.mk
21 export GNULIB_SRCDIR
:=$(HOST_GNULIB_SRCDIR
)
23 HOST_CONFIGURE_VARS
+= \
24 lt_cv_sys_dlsearch_path
=""
28 cd
$(HOST_BUILD_DIR
); \
35 --gnulib-srcdir
=$(GNULIB_SRCDIR
) \
40 $(call Host
/Prepare
/Default
)
41 $(call Host
/Uninstall
)
42 $(if
$(QUILT
),,$(call Host
/Bootstrap
))
46 $(if
$(QUILT
),$(call Host
/Bootstrap
))
47 $(call Host
/Configure
/Default
)
51 $(call Host
/Compile
/Default
,install)
52 $(SED
) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(STAGING_DIR_HOST
)/bin
/libtool
56 -$(call Host
/Compile
/Default
,uninstall)
57 (cd
$(STAGING_DIR_HOST
)/share
/aclocal
/ && rm -f libtool.m4 ltdl.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
)
60 $(eval
$(call HostBuild
))