]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-crypto/Makefile
examples: hide error for missing pkg-config path flag
[dpdk.git] / examples / l2fwd-crypto / Makefile
index ecfbab1f59c1ed9df32d6c6ad60f6e3342492f9c..2f1405a72be48f4e289ff4273981e8ba767dc210 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)