mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2026-02-01 16:38:22 +00:00
devlink: don't need to call pkg-config twice
pkg-config for libmnl is already done in config.mk Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
b876b7e2b4
commit
f3188cfa39
@ -8,9 +8,6 @@ ifeq ($(HAVE_MNL),y)
|
||||
DEVLINKOBJ = devlink.o mnlg.o
|
||||
TARGETS += devlink
|
||||
|
||||
CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
|
||||
LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
|
||||
|
||||
endif
|
||||
|
||||
all: $(TARGETS) $(LIBS)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user