X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fptpclient%2FMakefile;h=82d72b3e319f955aab4a7ad4500d9416015828d6;hb=fdf69a8179245b01de3a736938166331487f4257;hp=0f8390b6892f0af5820d2c2629a2d7f3d7faca34;hpb=12a652a02b080f26a1e9fd0169a58d6bcbe7b03c;p=dpdk.git diff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile index 0f8390b689..82d72b3e31 100644 --- a/examples/ptpclient/Makefile +++ b/examples/ptpclient/Makefile @@ -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)