mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-18 16:21:58 +00:00
build: must honor pkg-config flags for libmnl
The build otherwise fails if libmnl does not directly live in a standard search path.
This commit is contained in:
parent
acfeb55a86
commit
a6ea668c91
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user