X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=inline;f=examples%2Ftimer%2FMakefile;h=bf86339ab72125f2dc0f2f061baa85460aa6f941;hb=f26c2b39b271cdcd857ba518c5e48c78cb1c30af;hp=a861783551bd6aa6f024f66f3035dfa2bc2c928a;hpb=4131ad5db79a016970287282b938ebed2f19bdb3;p=dpdk.git diff --git a/examples/timer/Makefile b/examples/timer/Makefile index a861783551..bf86339ab7 100644 --- a/examples/timer/Makefile +++ b/examples/timer/Makefile @@ -17,9 +17,9 @@ shared: build/$(APP)-shared static: build/$(APP)-static ln -sf $(APP)-static build/$(APP) -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)