]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/Makefile
vdpa/mlx5: support queues number operation
[dpdk.git] / examples / ip_pipeline / Makefile
index cf10d7180872e3c701b0928c12738989fa9b3f0e..3a0193818ffb96b29fb14b0f5ef47567470d9cf1 100644 (file)
@@ -30,9 +30,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)