]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost_blk/Makefile
examples: hide error for missing pkg-config path flag
[dpdk.git] / examples / vhost_blk / Makefile
index af2a3f87becd896c1f5cf010ac34365e46fd93e4..39244320d831f26f1f2566753c05774e01dfa37e 100644 (file)
@@ -22,7 +22,7 @@ PKGCONF ?= pkg-config
 
 LDFLAGS += -pthread
 
-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)