From 40bd8468afee025934bc8b9c4dafeb34d1dd20a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Tue, 25 Apr 2023 10:14:47 +0200 Subject: [PATCH] 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: --- subprojects/gst-plugins-bad/tests/check/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/tests/check/meson.build b/subprojects/gst-plugins-bad/tests/check/meson.build index 49a125a8d9..0c4568ca69 100644 --- a/subprojects/gst-plugins-bad/tests/check/meson.build +++ b/subprojects/gst-plugins-bad/tests/check/meson.build @@ -127,7 +127,7 @@ if host_machine.system() != 'windows' [['elements/curlftpsink.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/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'], not faac_dep.found() or not cc.has_header_symbol('faac.h', 'faacEncOpen') or not cdata.has('HAVE_UNISTD_H'), [faac_dep]],