examples/vm_power: fix build with -fno-common
[dpdk.git] / examples / distributor / meson.build
index 8cf2ca1..9fec7f8 100644 (file)
@@ -6,6 +6,10 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+# require the power library
+build = dpdk_conf.has('RTE_LIBRTE_POWER')
+
+allow_experimental_apis = true
 deps += ['distributor', 'power']
 sources = files(
        'main.c'