summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2015-09-24 21:47:02 +0200
committerMichael Stapelberg <michael@stapelberg.de>2015-09-24 21:47:02 +0200
commit668bf2079f30e5df8f78974ebee2194d873f50ac (patch)
treef9cc0596f27917bed414bbb496f963ff4068562c /Makefile
parent51c1dbdba28e93687906ee7957c6b8f3aac1fe8a (diff)
wireless (linux): switch from libiw to libnl
Based on http://cr.i3wm.org/patch/692/ by Alexander Monakov fixes #32 fixes #52
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index edbdc44..5667c0d 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,8 @@ OS:=$(shell uname)
ifeq ($(OS),Linux)
CPPFLAGS+=-DLINUX
CPPFLAGS+=-D_GNU_SOURCE
-LIBS+=-liw
+CFLAGS += $(shell pkg-config --cflags libnl-genl-3.0)
+LIBS += $(shell pkg-config --libs libnl-genl-3.0)
LIBS+=-lasound
endif