xref: /dpdk/drivers/crypto/openssl/meson.build (revision d5d9e8fe0906f24579b9ff8c24442c235cc1819a)
16c9457c2SBruce Richardson# SPDX-License-Identifier: BSD-3-Clause
26c9457c2SBruce Richardson# Copyright(c) 2017 Intel Corporation
3e7047d2fSBruce Richardson
45731efeaSTal Shnaidermanif is_windows
55731efeaSTal Shnaiderman    build = false
65731efeaSTal Shnaiderman    reason = 'not supported on Windows'
75731efeaSTal Shnaiderman    subdir_done()
85731efeaSTal Shnaidermanendif
95731efeaSTal Shnaiderman
107be7dc6dSBruce Richardsondep = dependency('libcrypto', required: false, method: 'pkg-config')
11e7047d2fSBruce Richardsonif not dep.found()
12e7047d2fSBruce Richardson    build = false
13530588f3SBruce Richardson    reason = 'missing dependency, "libcrypto"'
14e7047d2fSBruce Richardsonendif
15e7047d2fSBruce Richardsondeps += 'bus_vdev'
16e7047d2fSBruce Richardsonsources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c')
17e7047d2fSBruce Richardsonext_deps += dep
18*d5d9e8feSThomas Monjalonrequire_iova_in_mbuf = false
19