]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
devlink: don't need to call pkg-config twice
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 4 Dec 2018 22:19:33 +0000 (14:19 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 4 Dec 2018 22:19:33 +0000 (14:19 -0800)
pkg-config for libmnl is already done in config.mk

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
devlink/Makefile

index ace34c7b0d600a520f65d59a696283019e25fef8..040b942e802e6b1cb0514d73d1ddf96798c25b99 100644 (file)
@@ -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)