diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-05-17 23:51:59 +0530 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@redhat.com> | 2022-05-17 13:49:55 -0500 |
commit | 7fb660faa66de48c7d9f639a30b1aecad8e59b25 (patch) | |
tree | 9effa3a1c5b559b2aa08c790423ab68cfb3f4200 | |
parent | e07ec8841f215e82f86d6b36e89509b018874b05 (diff) | |
download | glib-networking-glib-2-70.tar.gz |
meson: Fix tests build when using opensslglib-2-70
```
FAILED: subprojects/glib-networking/tls/tests/connection-openssl.p/connection.c.o
ccache cc -Isubprojects/glib-networking/tls/tests/connection-openssl.p -Isubprojects/glib-networking/tls/tests -I../subprojects/glib-networking/tls/tests -Isubprojects/glib-networking -I../subprojects/glib-networking -Isubprojects/glib-networking/tls -I../subprojects/glib-networking/tls -Isubprojects/glib-networking/tls/openssl -I../subprojects/glib-networking/tls/openssl -Isubprojects/glib/gio -I../subprojects/glib/gio -Isubprojects/glib/gmodule -I../subprojects/glib/gmodule -Isubprojects/glib -I../subprojects/glib -Isubprojects/glib/glib -I../subprojects/glib/glib -Isubprojects/proxy-libintl -I../subprojects/proxy-libintl -Isubprojects/glib/gobject -I../subprojects/glib/gobject -fcolor-diagnostics -Wall -Winvalid-pch -O2 -g -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED '-DLOCALE_DIR="/usr/local/share/locale"' -DG_DISABLE_DEPRECATED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -Werror=declaration-after-statement -Werror=implicit-function-declaration '-DSRCDIR="/Users/nirbheek/projects/repos/gstreamer.git/1.20/subprojects/glib-networking/tls/tests"' '-DTOP_BUILDDIR="/Users/nirbheek/projects/repos/gstreamer.git/1.20/builddir"' '-DBACKEND="openssl"' -DBACKEND_IS_OPENSSL -MD -MQ subprojects/glib-networking/tls/tests/connection-openssl.p/connection.c.o -MF subprojects/glib-networking/tls/tests/connection-openssl.p/connection.c.o.d -o subprojects/glib-networking/tls/tests/connection-openssl.p/connection.c.o -c ../subprojects/glib-networking/tls/tests/connection.c
In file included from ../subprojects/glib-networking/tls/tests/connection.c:40:
../subprojects/glib-networking/tls/openssl/openssl-include.h:46:10: fatal error: 'openssl/ssl.h' file not found
^~~~~~~~~~~~~~~
1 error generated.
```
-rw-r--r-- | tls/tests/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tls/tests/meson.build b/tls/tests/meson.build index 7415f91..a0ec164 100644 --- a/tls/tests/meson.build +++ b/tls/tests/meson.build @@ -8,7 +8,8 @@ deps = [ glib_dep, gmodule_dep, gobject_dep, - gnutls_dep + gnutls_dep, + openssl_dep ] cflags = [ |