examples/l3fwd-graph: fix pkg-config usage
This example missed the fixes from commit69b1bb49ed
("examples: hide error for missing pkg-config path flag") and commit12a652a02b
("examples: fix build with old pkg-config"). Fixes:08bd1a1744
("examples/l3fwd-graph: add graph-based l3fwd skeleton") Cc: stable@dpdk.org Signed-off-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
parent
0738209c23
commit
db886c51df
@ -19,9 +19,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) -DALLOW_EXPERIMENTAL_API
|
||||
LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)
|
||||
LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)
|
||||
|
Loading…
Reference in New Issue
Block a user