[glib-networking/fix-meson-assert: 2/2] meson: fix assertion when checking if gio_module_dir is available
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/fix-meson-assert: 2/2] meson: fix assertion when checking if gio_module_dir is available
- Date: Mon, 30 Sep 2019 10:52:51 +0000 (UTC)
commit e2ffd80f9fdd0f69ca01b0cba500ad970657013f
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Mon Sep 30 12:51:08 2019 +0200
meson: fix assertion when checking if gio_module_dir is available
We should not assert that gio module dir starts with prefix
since this is not true for windows builds
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index eac24fd..bd9049a 100644
--- a/meson.build
+++ b/meson.build
@@ -64,7 +64,7 @@ else
define_variable: ['libdir', join_paths(prefix, libdir)])
endif
-assert(gio_module_dir.startswith(prefix), 'GIO_MODULE_DIR is missing from gio-2.0.pc')
+assert(gio_module_dir != '', 'GIO_MODULE_DIR is missing from gio-2.0.pc')
# *** Checks for LibProxy ***
libproxy_dep = dependency('libproxy-1.0', version: '>= 0.3.1', required: get_option('libproxy'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]