# replace copies of ltmain.sh with the build system's version
update_libtool_common = \
- $(foreach p,$(LIBTOOL_PATHS), \
+ $(foreach p,$(PKG_LIBTOOL_PATHS), \
$(call replace,ltmain.sh,$(STAGING_DIR)/host/share/libtool,$(p)/) \
$(call replace,libtool.m4,$(STAGING_DIR)/host/share/aclocal,$(p)/) \
)