X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Ftep_termination%2FMakefile;h=be5aa9a641db237acbf881b4ce262b2fe0ae6591;hb=ca9268529d2b;hp=3782378d999d1d42ece3d8e88d72c62479a6a84b;hpb=863fd2930bbe9c982b042584d513d190487c983a;p=dpdk.git diff --git a/examples/tep_termination/Makefile b/examples/tep_termination/Makefile index 3782378d99..be5aa9a641 100644 --- a/examples/tep_termination/Makefile +++ b/examples/tep_termination/Makefile @@ -20,10 +20,12 @@ static: build/$(APP)-static LDFLAGS += -pthread -PC_FILE := $(shell pkg-config --path libdpdk) -CFLAGS += -O3 $(shell pkg-config --cflags libdpdk) -LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk) -LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk) +PKGCONF=pkg-config --define-prefix + +PC_FILE := $(shell $(PKGCONF) --path libdpdk) +CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk) +LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk) +LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk) CFLAGS += -Wno-deprecated-declarations