mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
bad: disable dtls test if openssl is not present
On MacOS with homebrew, the openssl library is not properly detected with pkg-config. So disable the test compilation if openssl is not properly detected along with libcrypto. libcrypto is detected but it uses the system one which leads to the error: your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64 See more details from Apple: https://developer.apple.com/forums/thread/124782 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4481>
This commit is contained in:
parent
35177b81b3
commit
40bd8468af
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ if host_machine.system() != 'windows'
|
||||||
[['elements/curlftpsink.c'], not curl_dep.found(), [curl_dep]],
|
[['elements/curlftpsink.c'], not curl_dep.found(), [curl_dep]],
|
||||||
[['elements/curlsmtpsink.c'], not curl_dep.found(), [curl_dep]],
|
[['elements/curlsmtpsink.c'], not curl_dep.found(), [curl_dep]],
|
||||||
[['elements/dash_mpd.c'], not xml2_dep.found(), [xml2_dep]],
|
[['elements/dash_mpd.c'], not xml2_dep.found(), [xml2_dep]],
|
||||||
[['elements/dtls.c'], not libcrypto_dep.found(), [libcrypto_dep]],
|
[['elements/dtls.c'], not libcrypto_dep.found() or not openssl_dep.found (), [libcrypto_dep]],
|
||||||
[['elements/faac.c'],
|
[['elements/faac.c'],
|
||||||
not faac_dep.found() or not cc.has_header_symbol('faac.h', 'faacEncOpen') or not cdata.has('HAVE_UNISTD_H'),
|
not faac_dep.found() or not cc.has_header_symbol('faac.h', 'faacEncOpen') or not cdata.has('HAVE_UNISTD_H'),
|
||||||
[faac_dep]],
|
[faac_dep]],
|
||||||
|
|
Loading…
Reference in a new issue