[glib-networking/glib-2-70] meson: Fix tests build when using openssl



commit 7fb660faa66de48c7d9f639a30b1aecad8e59b25
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Tue May 17 23:51:59 2022 +0530

    meson: Fix tests build when using openssl
    
    ```
    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 '-DSRCD
 IR="/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.
    ```

 tls/tests/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index 7415f913..a0ec1645 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 = [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]