From 040f75aa06829595ef8f3d9dea9382ba152ee34e Mon Sep 17 00:00:00 2001 From: Herve Codina Date: Tue, 17 Aug 2021 10:39:20 +0200 Subject: [PATCH] package/pkg-qmake.mk: Move QT5_QT_CONF_FIXUP to post-prepare hook QT5_QT_CONF_FIXUP 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 Signed-off-by: Yann E. MORIN --- package/pkg-qmake.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/pkg-qmake.mk b/package/pkg-qmake.mk index a77286fe3a..deb033c1d6 100644 --- a/package/pkg-qmake.mk +++ b/package/pkg-qmake.mk @@ -56,13 +56,14 @@ $(2)_DEPENDENCIES += host-perl $(2)_PRE_CONFIGURE_HOOKS += QT_HEADERS_SYNC_HOOK endif +$(2)_POST_PREPARE_HOOKS += QT5_QT_CONF_FIXUP + # # Configure step. Only define it if not already defined by the package # .mk file. # ifndef $(2)_CONFIGURE_CMDS define $(2)_CONFIGURE_CMDS - $$(QT5_QT_CONF_FIXUP) cd $$($(2)_BUILDDIR) && \ $$(TARGET_MAKE_ENV) $$($(2)_CONF_ENV) $$(QT5_QMAKE) $$($(2)_CONF_OPTS) endef -- 2.30.2