X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost%2FMakefile;h=ef6f3550f3e15db43e89329fdca71136e6fcc4cb;hb=3cb46d40d35960ca0478704d1e84e8d96b5676cd;hp=fcb864d0eca8de05556cfbfe16b8f29502732000;hpb=12a652a02b080f26a1e9fd0169a58d6bcbe7b03c;p=dpdk.git diff --git a/examples/vhost/Makefile b/examples/vhost/Makefile index fcb864d0ec..ef6f3550f3 100644 --- a/examples/vhost/Makefile +++ b/examples/vhost/Makefile @@ -21,10 +21,10 @@ LDFLAGS += -pthread 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) +LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk) CFLAGS += -DALLOW_EXPERIMENTAL_API