]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist meson: followup to #15685 to avoid compiler warnings 15695/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 19 Jun 2025 07:01:38 +0000 (09:01 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 19 Jun 2025 07:01:38 +0000 (09:01 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/dnsdistdist/meson/libcrypto/meson.build

index 3df544eb22fffa592b9f2b61ccb0297609c2e286..85d1348da2c5cd3038cbb818dcc540d4985f823e 100644 (file)
@@ -44,8 +44,7 @@ if not dep_libcrypto.found()
     have = cxx.has_header(dir / 'include/openssl/crypto.h')
     if have
       dep_libcrypto = declare_dependency(
-        compile_args: ['-L' + dir / 'lib'],
-        link_args: ['-lcrypto'],
+        link_args: ['-L' + dir / 'lib', '-lcrypto'],
         include_directories: include_directories(dir / 'include', is_system: false),
       )
       break