From: Thomas Petazzoni Date: Mon, 9 Mar 2020 22:16:30 +0000 (+0100) Subject: package/pkg-qmake.mk: only add qt5base dependency when we're not qt5base X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52dedbea62c6454fe60a17cc13d3f72edab1edfa;p=buildroot.git package/pkg-qmake.mk: only add qt5base dependency when we're not qt5base As we are about to convert qt5base to the qmake-package infrastructure, we need to avoid a circular dependency: the qt5base package itself should not depend on qt5base. Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-qmake.mk b/package/pkg-qmake.mk index ed48819d1b..46d2b22d04 100644 --- a/package/pkg-qmake.mk +++ b/package/pkg-qmake.mk @@ -40,7 +40,9 @@ $(2)_MAKE_OPTS ?= $(2)_INSTALL_STAGING_OPTS ?= install $(2)_INSTALL_TARGET_OPTS ?= $$($(2)_INSTALL_STAGING_OPTS) +ifneq ($(1),qt5base) $(2)_DEPENDENCIES += qt5base +endif # # Configure step. Only define it if not already defined by the package