mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Merge branch 'wip/pwithnall/revert-2517' into 'main'
Revert "meson: Add schemasdir and giomoduledir to gio dependency" See merge request GNOME/glib!2524
This commit is contained in:
commit
dbd11f3d3b
@ -819,22 +819,9 @@ endif
|
|||||||
|
|
||||||
schemas_subdir = join_paths('glib-2.0', 'schemas')
|
schemas_subdir = join_paths('glib-2.0', 'schemas')
|
||||||
|
|
||||||
# Work around variables kwarg requiring Meson 0.56
|
|
||||||
declare_dependency_kwargs = {}
|
|
||||||
if meson.version().version_compare('>=0.56.0')
|
|
||||||
declare_dependency_kwargs = {
|
|
||||||
'variables': [
|
|
||||||
'schemasdir=' + join_paths(glib_datadir, schemas_subdir),
|
|
||||||
'giomoduledir=' + glib_giomodulesdir,
|
|
||||||
]
|
|
||||||
}
|
|
||||||
endif
|
|
||||||
|
|
||||||
libgio_dep = declare_dependency(link_with : libgio,
|
libgio_dep = declare_dependency(link_with : libgio,
|
||||||
dependencies : [libgmodule_dep, libgobject_dep, gioenumtypes_dep],
|
dependencies : [libgmodule_dep, libgobject_dep, gioenumtypes_dep],
|
||||||
include_directories : [gioinc],
|
include_directories : [gioinc])
|
||||||
kwargs : declare_dependency_kwargs,
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg.generate(libgio,
|
pkg.generate(libgio,
|
||||||
requires : ['glib-2.0', 'gobject-2.0'],
|
requires : ['glib-2.0', 'gobject-2.0'],
|
||||||
|
Loading…
Reference in New Issue
Block a user