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:50:08 -0500 |
commit | 832dc80a4a0509e8922c3fbad4ae54763e2bf86f (patch) | |
tree | c862862d51cd943aa704d5fb9794a41780fe304d | |
parent | df25a5f963b5f60839e65b03936879fa1586235c (diff) | |
download | glib-networking-glib-2-68.tar.gz |
meson: Fix tests build when using opensslglib-2-68
```
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 6f2af7e..a5e18de 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 = [ |