]> git.droids-corp.org - dpdk.git/blobdiff - examples/bond/Makefile
examples: hide error for missing pkg-config path flag
[dpdk.git] / examples / bond / Makefile
index 3f1ae1b6f5166e3e414f50de826c98a2a9c98c12..2030ca410a9b4e485bde86107fc46d3b89d521b4 100644 (file)
@@ -21,7 +21,7 @@ LDFLAGS += -lrte_pmd_bond
 
 PKGCONF ?= pkg-config
 
-PC_FILE := $(shell $(PKGCONF) --path libdpdk)
+PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null)
 CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)
 LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)
 LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)