]> git.droids-corp.org - dpdk.git/commitdiff
examples: fix build with meson
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 12 Mar 2018 15:25:21 +0000 (15:25 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 13 Mar 2018 22:57:33 +0000 (23:57 +0100)
The ip_pipeline and qos_meter example apps now use experimental APIs so
this fact needs to be flagged in their meson.build files.

Fixes: c06ddf9698e0 ("meter: add configuration profile")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
examples/ip_pipeline/meson.build
examples/qos_meter/meson.build

index 748c9ae0353fb5aeac16d8d78c5a5ce1addc81e4..00d4033616089886e847d0b3b3bbcd2a4dc7dce2 100644 (file)
@@ -7,6 +7,7 @@
 # DPDK instance, use 'make'
 
 deps += ['cfgfile', 'pipeline', 'bus_pci']
+allow_experimental_apis = true
 includes += include_directories('pipeline')
 sources = files(
        'config_check.c',
index ef7779f2f164c1ab19e4bbd7f96dd255ebdd64d7..10cd4bc79bb1378be89c0f8e97c856234747aa7d 100644 (file)
@@ -7,6 +7,7 @@
 # DPDK instance, use 'make'
 
 deps += 'meter'
+allow_experimental_apis = true
 sources = files(
        'main.c', 'rte_policer.c'
 )