]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tipc/Makefile
Revert "tipc: add peer remove functionality"
[mirror_iproute2.git] / tipc / Makefile
index b3ef9b9d4026e024792a72871eabf7c6ab09e961..bc5ecfd37518749e23190a3464745ddfe7ccfdbd 100644 (file)
@@ -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