bad: disable dtls test if openssl is not present
authorStéphane Cerveau <scerveau@collabora.com>
Tue, 25 Apr 2023 08:14:47 +0000 (10:14 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 25 Apr 2023 11:11:06 +0000 (11:11 +0000)
commitdebc8af1902722851b0f4e432d67c53497d7cb9d
tree30bb5878876bfd88f200251fc34e4d330adbffe9
parentc4c79b7275137edf6463c94fb136f04ded35f98e
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/4483>
subprojects/gst-plugins-bad/tests/check/meson.build