Commit a6ea668c authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Stephen Hemminger

build: must honor pkg-config flags for libmnl

The build otherwise fails if libmnl does not directly live in a
standard search path.
parent acfeb55a
......@@ -8,8 +8,11 @@ TIPCOBJ=bearer.o \
node.o socket.o \
tipc.o
include ../Config
TARGETS=tipc
LDLIBS += -lmnl
CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment