Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ LIBS += -ldl
endif

ifdef NL80211_SUPPORT
CFLAGS += -DNL80211_SUPPORT -I /usr/include/libnl3
PKG_CONFIG ?= pkg-config
CFLAGS += -DNL80211_SUPPORT
CFLAGS += $(shell $(PKG_CONFIG) --cflags libnl-3.0)
LIBS += -lnl-3 -lnl-genl-3
endif

Expand Down