Merge branch 'glib-as-subproject' into 'master'

Meson: Add missing include_directories when using glib as subproject

See merge request GNOME/glib!491
This commit is contained in:
Philip Withnall 2018-11-26 14:29:24 +00:00
commit 051c9ada8e
3 changed files with 3 additions and 3 deletions

View File

@ -857,7 +857,7 @@ endif
libgio_dep = declare_dependency(link_with : libgio,
dependencies : [gioenumtypes_dep],
# We sadly need to export configinc here because everyone includes <gio/*.h>
include_directories : [configinc, gioinc])
include_directories : [configinc, glibinc, gobjectinc, gmoduleinc, gioinc])
if host_system == 'windows'
# Hack till https://github.com/mesonbuild/meson/issues/2324 is fixed

View File

@ -140,4 +140,4 @@ pkg.generate(libraries : [libgmodule, export_dynamic_ldflags],
)
libgmodule_dep = declare_dependency(link_with : libgmodule,
include_directories : gmoduleinc)
include_directories : [configinc, gmoduleinc, glibinc])

View File

@ -84,7 +84,7 @@ pkg.generate(libraries : libgobject,
)
libgobject_dep = declare_dependency(link_with : libgobject,
include_directories : gobjectinc)
include_directories : [configinc, glibinc, gobjectinc])
python_tools = [
'glib-genmarshal',