From e41a914bf27d80a95fe181f6a194f905694296e2 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Wed, 15 May 2019 09:42:47 -0300 Subject: [PATCH] libseccomp: workaround a recursive dependency DEPENDS:=@!arc is causing a recursive dependency because of the optional selection of libseccomp by util/lxc. The workaround hides the package in Package/libseccomp/config instead. Signed-off-by: Eneas U de Queiroz (cherry-picked from e29483d7e202b06c49b3ede7fbb63c2ba1879321) --- libs/libseccomp/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/libseccomp/Makefile b/libs/libseccomp/Makefile index 9817f0eb5..a53b95ac7 100644 --- a/libs/libseccomp/Makefile +++ b/libs/libseccomp/Makefile @@ -26,6 +26,11 @@ PKG_CONFIG_DEPENDS:= \ include $(INCLUDE_DIR)/package.mk +# This is done instead of DEPENDS:=@!arc to avoid a recursive dependency when +# the library is conditionally selected by util/lxc. +define Package/libseccomp/config + depends on !arc +endef define Package/libseccomp/Default SUBMENU:= @@ -46,7 +51,6 @@ endef define Package/libseccomp $(call Package/libseccomp/Default) TITLE+= (library) - DEPENDS+= endef define Package/libseccomp/description