diff --git a/libs/libseccomp/Makefile b/libs/libseccomp/Makefile index 191434cc3..d88507b6f 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:= @@ -33,7 +38,6 @@ define Package/libseccomp/Default CATEGORY:=Libraries TITLE:=seccomp URL:=https://github.com/seccomp/libseccomp/wiki - DEPENDS:=@!arc endef define Package/libseccomp/Default/description @@ -47,7 +51,6 @@ endef define Package/libseccomp $(call Package/libseccomp/Default) TITLE+= (library) - DEPENDS+= endef define Package/scmp_sys_resolver