hostapd.inc: use libnl version and dbus

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
Ramon Moesching 2020-10-21 10:07:20 +02:00
parent ab31e173ba
commit 84f10e388a
1 changed files with 4 additions and 6 deletions

View File

@ -5,7 +5,9 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=279b4f5abb9c153c285221855ddb78cc \
file://README;beginline=1;endline=56;md5=e7d3dbb01f75f0b9799e192731d1e1ff \
file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=0a8b56d3543498b742b9c0e94cc2d18b"
DEPENDS = "libnl-tiny"
DEPENDS = "libnl dbus"
PACKAGECONFIG ??= "gnutls"
PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt"
PACKAGECONFIG[openssl] = ",,openssl"
@ -80,11 +82,7 @@ S = "${WORKDIR}/git"
export EXTRA_CFLAGS = " \
${CFLAGS} \
-I${STAGING_DIR_TARGET}/usr/include/libnl-tiny \
-lnl-tiny \
-DCONFIG_LIBNL20 \
-DCONFIG_LIBNL_TINY \
-D_GNU_SOURCE \
-I${STAGING_DIR_TARGET}/usr/include/libnl3 \
"
LDFLAGS += " -Wl,--gc-sections"