From: Stephen Hemminger Date: Tue, 4 Dec 2018 22:19:33 +0000 (-0800) Subject: devlink: don't need to call pkg-config twice X-Git-Tag: v5.0.0~71 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f3188cfa392afdbacb171a367641504850645ea4;p=mirror_iproute2.git devlink: don't need to call pkg-config twice pkg-config for libmnl is already done in config.mk Signed-off-by: Stephen Hemminger --- diff --git a/devlink/Makefile b/devlink/Makefile index ace34c7b..040b942e 100644 --- a/devlink/Makefile +++ b/devlink/Makefile @@ -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)