]> git.droids-corp.org - dpdk.git/blobdiff - examples/bond/Makefile
examples/ipsec-secgw: support flow director
[dpdk.git] / examples / bond / Makefile
index 0229b31bb109695c6a071460d42af9d4a8026303..2030ca410a9b4e485bde86107fc46d3b89d521b4 100644 (file)
@@ -19,9 +19,9 @@ static: build/$(APP)-static
 
 LDFLAGS += -lrte_pmd_bond
 
-PKGCONF=pkg-config --define-prefix
+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)