]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Add the ext arc4random module
authorFred Morcos <fred.morcos@open-xchange.com>
Mon, 21 Aug 2023 14:43:13 +0000 (16:43 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:44 +0000 (13:28 +0100)
ext/arc4random/meson.build [new file with mode: 0644]

diff --git a/ext/arc4random/meson.build b/ext/arc4random/meson.build
new file mode 100644 (file)
index 0000000..977b066
--- /dev/null
@@ -0,0 +1,20 @@
+lib_arc4random = static_library(
+  'arc4random',
+  'arc4random.c',
+  'arc4random_uniform.c',
+  'bsd-getentropy.c',
+  'explicit_bzero.c',
+  extra_files: [
+    'arc4random.h',
+    'arc4random.hh',
+    'chacha_private.h',
+    'includes.h',
+    'log.h',
+  ],
+  dependencies: [dep_pdns],
+)
+
+dep_arc4random = declare_dependency(
+  link_with: lib_arc4random,
+  include_directories: include_directories('.'),
+)