package/hostapd: use correct include path for libnl-3.0
PATCH 1/1 package/hostapd: use correct include path for libnl-3.0
Add a dependancy on host-pkgconf.
Signed-off-by Romain Naour <[email protected]>
Reported-by J?rg Krause <[email protected]>
Cc J?rg Krause <[email protected]>
--- ...01-use-correct-include-path-for-libnl-3.0.patch | 26 ++++++++++++++++++++++ package/hostapd/hostapd.mk | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 package/hostapd/0001-use-correct-include-path-for-libnl-3.0.patch
package/hostapd/0001-use-correct-include-path-for-libnl-3.0.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 4426de35f0e5dd5b0152474ce6a885b73de60656 Mon Sep 17 00:00:00 2001 +From: Romain Naour <[email protected]> +Date: Tue, 16 Dec 2014 23:50:33 +0100 +Subject: [PATCH 2/2] use correct include path for libnl-3.0 + +Signed-off-by: Romain Naour <[email protected]> +--- + src/drivers/drivers.mak | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak +index cdb913e..e9fc83c 100644 +--- a/src/drivers/drivers.mak ++++ b/src/drivers/drivers.mak +@@ -35,7 +35,7 @@ NEED_RFKILL=y + ifdef CONFIG_LIBNL32 + DRV_LIBS += -lnl-3 + DRV_LIBS += -lnl-genl-3 +- DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3 ++ DRV_CFLAGS += -DCONFIG_LIBNL20 `pkg-config --cflags libnl-3.0` + ifdef CONFIG_LIBNL3_ROUTE + DRV_LIBS += -lnl-route-3 + DRV_CFLAGS += -DCONFIG_LIBNL3_ROUTE +-- +1.9.3 +
package/hostapd/hostapd.mk +1 -1
@@ -8,7 +8,7 @@ HOSTAPD_VERSION = 2.3 HOSTAPD_SITE = http://hostap.epitest.fi/releases HOSTAPD_SUBDIR = hostapd HOSTAPD_CONFIG = $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/.config -HOSTAPD_DEPENDENCIES = libnl +HOSTAPD_DEPENDENCIES = host-pkgconf libnl HOSTAPD_CFLAGS = $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnl3/ HOSTAPD_LICENSE = GPLv2/BSD-3c HOSTAPD_LICENSE_FILES = README
Signature · 1 line
1.9.3
Thomas Petazzoni
AppliedPATCH 1/1 package/hostapd: use correct include path for libnl-3.0
Dear Romain Naour,
Quoted 10 lines · Romain Naour
Add a dependancy on host-pkgconf.
Signed-off-by Romain Naour <[email protected]>Reported-by J?rg Krause <[email protected]>Cc J?rg Krause <[email protected]>--- ...01-use-correct-include-path-for-libnl-3.0.patch | 26 ++++++++++++++++++++++ package/hostapd/hostapd.mk | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 package/hostapd/0001-use-correct-include-path-for-libnl-3.0.patch
Applied, thanks. Please submit the patch upstream.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com