diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak index c4f5f9744..c1bfff1f3 100644 --- a/src/drivers/drivers.mak +++ b/src/drivers/drivers.mak @@ -63,7 +63,9 @@ else endif ifdef CONFIG_LIBNL20 - DRV_LIBS += -lnl-genl + ifndef CONFIG_LIBNL_TINY + DRV_LIBS += -lnl-genl + endif DRV_CFLAGS += -DCONFIG_LIBNL20 endif endif diff --git a/src/drivers/drivers.mk b/src/drivers/drivers.mk index 0a05a2447..0444e5239 100644 --- a/src/drivers/drivers.mk +++ b/src/drivers/drivers.mk @@ -51,7 +51,9 @@ else endif ifdef CONFIG_LIBNL20 - DRV_LIBS += -lnl-genl + ifndef CONFIG_LIBNL_TINY + DRV_LIBS += -lnl-genl + endif DRV_CFLAGS += -DCONFIG_LIBNL20 endif endif