summaryrefslogtreecommitdiffstats
path: root/drivers/compress/zlib/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/compress/zlib/meson.build')
-rw-r--r--drivers/compress/zlib/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/compress/zlib/meson.build b/drivers/compress/zlib/meson.build
new file mode 100644
index 00000000..7748de2d
--- /dev/null
+++ b/drivers/compress/zlib/meson.build
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Cavium Networks
+
+dep = dependency('zlib', required: false)
+if not dep.found()
+ build = false
+endif
+
+deps += 'bus_vdev'
+sources = files('zlib_pmd.c', 'zlib_pmd_ops.c')
+ext_deps += dep
+pkgconfig_extra_libs += '-lz'
+
+allow_experimental_apis = true