]> git.droids-corp.org - dpdk.git/blobdiff - examples/ipsec-secgw/Makefile
examples: hide error for missing pkg-config path flag
[dpdk.git] / examples / ipsec-secgw / Makefile
index 1c2b944d6c15c05e8130aa6654db803e431cce62..a4977f61f8793e64fb66c402ab00a42f4a569c79 100644 (file)
@@ -30,7 +30,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)