소스 검색

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 <thomas.petazzoni@bootlin.com>
Thomas Petazzoni 5 년 전
부모
커밋
52dedbea62
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      package/pkg-qmake.mk

+ 2 - 0
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