summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-24 16:31:24 +0200
committerJo-Philipp Wich <jo@mein.io>2018-07-24 17:36:17 +0200
commitd991fe54810761643ec96d4eca17fefbdbfef5df (patch)
treed056740a7019666654c5566cc46f53224381debc /Makefile
parent44956b780db9aa71ac86152577275ff235d7afef (diff)
downloadiwinfo-d991fe54810761643ec96d4eca17fefbdbfef5df.tar.gz
utils: add simple ubus query support
Some wireless runtime parameters are not available via nl80211, e.g. the effective Mesh ID so we need to fetch those from ubus state info. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4a62205..715c03e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
IWINFO_BACKENDS = $(BACKENDS)
IWINFO_CFLAGS = $(CFLAGS) -std=gnu99 -fstrict-aliasing -Iinclude
-IWINFO_LDFLAGS = -luci -lubox
+IWINFO_LDFLAGS = -luci -lubox -lubus
IWINFO_LIB = libiwinfo.so
IWINFO_LIB_LDFLAGS = $(LDFLAGS) -shared