package/apache: move APACHE_FIXUP_APR_LIBTOOL to post-prepare hook
authorHerve Codina <herve.codina@bootlin.com>
Tue, 6 Jul 2021 14:24:49 +0000 (16:24 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 6 Jul 2021 20:53:26 +0000 (22:53 +0200)
APACHE_FIXUP_APR_LIBTOOL tweaks files for per package directory build.
This is typically the kind of operation expected to be in
post-prepare hook.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/apache/apache.mk

index 7dbd1a4512a11586491b55bc1f715f5b8cdcd992..dc66cd660e53dbaae2e98d252a4df10d0ae9f351 100644 (file)
@@ -23,7 +23,7 @@ define APACHE_FIXUP_APR_LIBTOOL
        $(SED) "s@$(PER_PACKAGE_DIR)/[^/]\+/@$(PER_PACKAGE_DIR)/apache/@g" \
                $(STAGING_DIR)/usr/build-1/libtool
 endef
-APACHE_POST_CONFIGURE_HOOKS += APACHE_FIXUP_APR_LIBTOOL
+APACHE_POST_PREPARE_HOOKS += APACHE_FIXUP_APR_LIBTOOL
 endif
 
 APACHE_CONF_ENV= \