From e954ce9e0a0ccdd8ed2f45b85313827db82bfc2a Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 19 Mar 2024 20:46:22 +0100 Subject: [PATCH] fixup! information: add batman-adv statistics --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index c71da06..6f39995 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,8 +2,8 @@ CC ?= gcc CFLAGS_common ?= -Wall -Wextra -Werror -std=c99 -g LDFLAGS_common ?= -LDFLAGS:=-lubox -lubus -lblobmsg_json $(shell pkg-config --libs libnl-tiny) -CFLAGS:=$(shell pkg-config --cflags libnl-tiny) +LDFLAGS:=-lubox -lubus -lblobmsg_json $(shell pkg-config --libs libnl-tiny) $(shell $(PKG_CONFIG) --libs libbatadv) +CFLAGS:=$(shell pkg-config --cflags libnl-tiny) $(shell $(PKG_CONFIG) --cflags libbatadv) LDFLAGS_MONITOR:=$(shell pkg-config --libs libnl-genl-3.0) -DBUILD_MONITOR CFLAGS_MONITOR:=$(shell pkg-config --cflags libnl-genl-3.0)