summaryrefslogtreecommitdiff
path: root/net-wireless/hostapd/files/hostapd-1.0-libnl_path_fix.patch
blob: abf15a6e7e0774f63b65859cf31a7270d053c54f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -aurp a/src/drivers/drivers.mak b/src/drivers/drivers.mak
--- a/src/drivers/drivers.mak	2012-10-03 19:42:16.387634128 +0000
+++ b/src/drivers/drivers.mak	2012-10-03 19:43:16.246693744 +0000
@@ -48,7 +48,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
diff -aurp a/src/drivers/drivers.mk b/src/drivers/drivers.mk
--- a/src/drivers/drivers.mk	2012-10-03 19:42:16.385634126 +0000
+++ b/src/drivers/drivers.mk	2012-10-03 19:43:23.333700780 +0000
@@ -48,7 +48,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