build: Use updated libnl3 header paths
authorDan Williams <dcbw@redhat.com>
Wed, 15 Aug 2012 17:44:33 +0000 (20:44 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 15 Aug 2012 17:44:33 +0000 (20:44 +0300)
libnl3's headers live in /usr/include/libnl3 for some time now.

Signed-hostap: Dan Williams <dcbw@redhat.com>

src/drivers/drivers.mak
src/drivers/drivers.mk

index 0a05b6d..c7a98d3 100644 (file)
@@ -30,7 +30,7 @@ NEED_RFKILL=y
 ifdef CONFIG_LIBNL32
   DRV_LIBS += -lnl-3
   DRV_LIBS += -lnl-genl-3
-  DRV_CFLAGS += -DCONFIG_LIBNL20
+  DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
 else
   ifdef CONFIG_LIBNL_TINY
     DRV_LIBS += -lnl-tiny
index 9e75a91..23fcbb7 100644 (file)
@@ -30,7 +30,7 @@ NEED_RFKILL=y
 ifdef CONFIG_LIBNL32
   DRV_LIBS += -lnl-3
   DRV_LIBS += -lnl-genl-3
-  DRV_CFLAGS += -DCONFIG_LIBNL20
+  DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
 else
   ifdef CONFIG_LIBNL_TINY
     DRV_LIBS += -lnl-tiny