libtool.mk 816 B

1234567891011121314151617181920212223242526
  1. #############################################################
  2. #
  3. # libtool
  4. #
  5. #############################################################
  6. LIBTOOL_VERSION = 2.2.10
  7. LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.gz
  8. LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
  9. define HOST_LIBTOOL_CUSTOM_INSTALL
  10. install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/libtool.m4 \
  11. $(STAGING_DIR)/usr/share/aclocal/libtool.m4
  12. install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/ltdl.m4 \
  13. $(STAGING_DIR)/usr/share/aclocal/ltdl.m4
  14. endef
  15. HOST_LIBTOOL_POST_INSTALL_HOOKS += HOST_LIBTOOL_CUSTOM_INSTALL
  16. HOST_LIBTOOL_LIBTOOL_PATCH = NO
  17. $(eval $(call AUTOTARGETS,package,libtool))
  18. $(eval $(call AUTOTARGETS,package,libtool,host))
  19. # variables used by other packages
  20. LIBTOOL:=$(HOST_DIR)/usr/bin/libtool
  21. LIBTOOLIZE:=$(HOST_DIR)/usr/bin/libtoolize