[glib] meson: Fix gnulib compilation on MSVC
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] meson: Fix gnulib compilation on MSVC
- Date: Fri, 24 Nov 2017 07:14:07 +0000 (UTC)
commit 87122cae38bda7d91b62f3ca167e507316a434ba
Author: Nirbheek Chauhan <nirbheek centricular com>
Date: Fri Nov 24 12:41:53 2017 +0530
meson: Fix gnulib compilation on MSVC
glibinc is needed for including glibconfig.h, this was not noticed
during testing probably because a system-installed header got picked
up instead.
glib/gnulib/meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gnulib/meson.build b/glib/gnulib/meson.build
index 6746631..44227c6 100644
--- a/glib/gnulib/meson.build
+++ b/glib/gnulib/meson.build
@@ -1,4 +1,4 @@
gnulib_lib = static_library('gnulib', 'asnprintf.c', 'printf.c', 'printf-args.c', 'printf-parse.c',
'vasnprintf.c',
- include_directories : configinc,
+ include_directories : [configinc, glibinc],
pic : true,
c_args : [ '-DLIBDIR="@0@"'.format(get_option('libdir')), '-DGLIB_COMPILATION', '-DG_LOG_DOMAIN="GLib"' ]
+ glib_hidden_visibility_args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]