From f3188cfa392afdbacb171a367641504850645ea4 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 4 Dec 2018 14:19:33 -0800 Subject: [PATCH] devlink: don't need to call pkg-config twice pkg-config for libmnl is already done in config.mk Signed-off-by: Stephen Hemminger --- devlink/Makefile | 3 --- 1 file changed, 3 deletions(-) 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)