mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
aes: specify the required OpenSSL version
The code in the aes elements assumes OpenSSL >= 1.1.0: - implicit library initialization; - version retrieved with OpenSSL_version(OPENSSL_VERSION); and it fails to build with older versions. Specify the required OpenSSL version explicitly in meson.build so that the elements are excluded on older systems (e.g. Ubuntu 16.04) and the rest of GStreamer can still build. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1067>
This commit is contained in:
parent
8d7dde2587
commit
7f001b6311
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ aes_sources = [
|
|||
]
|
||||
|
||||
aes_cargs = []
|
||||
aes_dep = dependency('openssl', required : get_option('aes'))
|
||||
aes_dep = dependency('openssl', version : '>= 1.1.0', required : get_option('aes'))
|
||||
if aes_dep.found()
|
||||
aes_cargs += ['-DHAVE_OPENSSL']
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue