libenca: Move build host tool to PRE_BUILD_HOOKS

The make_hash host tool, should be built during a PRE_BUILD_HOOKS and
not a POST_CONFIGURE_HOOKS.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Maxime Hadjinlian 2014-05-05 15:24:07 +02:00 committed by Peter Korsgaard
parent ac93fabb66
commit 272759d8ff

View file

@ -21,6 +21,6 @@ define LIBENCA_MAKE_HOST_TOOL
$(MAKE) -C $(@D)/tools $(HOST_CONFIGURE_OPTS) make_hash
endef
LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
LIBENCA_PRE_BUILD_HOOKS += LIBENCA_MAKE_HOST_TOOL
$(eval $(autotools-package))