diff --git a/package/libvirt/Config.in b/package/libvirt/Config.in
index 9308d2a6ac..8c3021242a 100644
--- a/package/libvirt/Config.in
+++ b/package/libvirt/Config.in
@@ -9,7 +9,7 @@ comment "libvirt needs udev /dev management, a toolchain w/ threads, dynamic lib
 	depends on BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS
 	depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || !BR2_USE_MMU || \
 		!BR2_TOOLCHAIN_HAS_THREADS || \
-		!(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 &&
+		!(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 && \
 		  (BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64))
 
 config BR2_PACKAGE_LIBVIRT