examples/fips_validation: fix build with pkg-config
authorDavid Marchand <david.marchand@redhat.com>
Sat, 14 Nov 2020 09:05:23 +0000 (10:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Nov 2020 14:29:19 +0000 (15:29 +0100)
When this example started using rte_cryptodev_sym_session_pool_create,
the part for pkg-config builds was not updated.

Fixes: 261bbff75e34 ("examples: use separate crypto session mempools")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
examples/fips_validation/Makefile

index 7ba9bcf..8f82a4c 100644 (file)
@@ -36,6 +36,8 @@ CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)
 LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)
 LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)
 
+CFLAGS += -DALLOW_EXPERIMENTAL_API
+
 build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build
        $(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)