]> git.droids-corp.org - dpdk.git/blobdiff - examples/tep_termination/Makefile
mempool: return 0 if area is too small on populate
[dpdk.git] / examples / tep_termination / Makefile
index 31165bd92a3d6e402f7768eb59354d465f2079d3..645112498d330558177dd07a9801025f97b50f66 100644 (file)
@@ -19,9 +19,9 @@ static: build/$(APP)-static
 
 LDFLAGS += -pthread
 
-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)