X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fbond%2FMakefile;h=2030ca410a9b4e485bde86107fc46d3b89d521b4;hb=366a0500f432a862f37ab2ca220e60f5654eadd7;hp=0229b31bb109695c6a071460d42af9d4a8026303;hpb=4131ad5db79a016970287282b938ebed2f19bdb3;p=dpdk.git diff --git a/examples/bond/Makefile b/examples/bond/Makefile index 0229b31bb1..2030ca410a 100644 --- a/examples/bond/Makefile +++ b/examples/bond/Makefile @@ -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)