]> git.droids-corp.org - dpdk.git/blobdiff - examples/cmdline/Makefile
examples: hide error for missing pkg-config path flag
[dpdk.git] / examples / cmdline / Makefile
index f362a2afb4169c9db7a2338fb6232c0e58047e3b..0b6b54540a3d199b18388d49fe19a8a45df2d53e 100644 (file)
@@ -19,7 +19,7 @@ static: build/$(APP)-static
 
 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)