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
|
DEVLINKOBJ = devlink.o mnlg.o
|
||||||
TARGETS += devlink
|
TARGETS += devlink
|
||||||
|
|
||||||
CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
|
|
||||||
LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: $(TARGETS) $(LIBS)
|
all: $(TARGETS) $(LIBS)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue