Skip to contentSkip to conversation

package/libvirt: add libnl optional dependency

Buildroot Yann E. MORIN 1 participant 1 message Sep 18, 2021

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=69bcb52766e8a877fa024f963c544b886217aa46
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

libnl is an optional dependency (which is enabled by default) since the addition of the package in commit ccfc90e1010e42e6529afae3a5ea8bf7226dabc1

---
 package/libvirt/libvirt.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libvirt/libvirt.mk +7 -0
index 396dd61577..f30baaab71 100644
@@ -134,6 +134,13 @@ else
 LIBVIRT_CONF_OPTS += -Dlibiscsi=disabled
 endif
 
+ifeq ($(BR2_PACKAGE_LIBNL),y)
+LIBVIRT_CONF_OPTS += -Dlibnl=enabled
+LIBVIRT_DEPENDENCIES += libnl
+else
+LIBVIRT_CONF_OPTS += -Dlibnl=disabled
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPCAP),y)
 LIBVIRT_CONF_OPTS += -Dlibpcap=enabled
 LIBVIRT_DEPENDENCIES += libpcap

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot