]> git.droids-corp.org - dpdk.git/blobdiff - drivers/crypto/openssl/meson.build
common/cnxk: add null authentication with IPsec
[dpdk.git] / drivers / crypto / openssl / meson.build
index c2a0dd8baf886e8f429716071b21ede7bb2337ae..cd962da1d6ab5812560fad67fdbc62a2e77bfb52 100644 (file)
@@ -1,11 +1,17 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-dep = dependency('libcrypto', required: false)
+if is_windows
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
+endif
+
+dep = dependency('libcrypto', required: false, method: 'pkg-config')
 if not dep.found()
-       build = false
+    build = false
+    reason = 'missing dependency, "libcrypto"'
 endif
 deps += 'bus_vdev'
 sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c')
 ext_deps += dep
-pkgconfig_extra_libs += '-lcrypto'