eal/memory: fix unused SIGBUS handler
[dpdk.git] / examples / distributor / meson.build
index d036ea0..9df5992 100644 (file)
@@ -6,8 +6,14 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-deps += 'distributor'
+# require the power library
+build = dpdk_conf.has('RTE_LIB_POWER')
+if not build
+    subdir_done()
+endif
+
 allow_experimental_apis = true
+deps += ['distributor', 'power']
 sources = files(
-       'main.c'
+        'main.c',
 )