glib/gmodule
Xavier Claessens 10280deebd Meson: Override every dependency glib provides
Meson 0.54.0 added a new method meson.override_dependency() that must be
used to ensure dependency consistency. This patch ensures a project that
depends on glib will never link to a mix of system and subproject
libraries. It would happen in such cases:

The system has glib 2.40 installed, and a project does:
dependency('glib-2.0', version: '>=2.60',
  fallback: ['glib', 'glib_dep'])
dependency('gobject-2.0')

The first call will configure glib subproject because the system libglib
is too old, but the 2nd call will return system libgobject.

By overriding 'gobject-2.0' dependency while configuring glib subproject
during the first call, meson knows that on the 2nd call it must return
the subproject dependency instead of system dependency.

This also has the nice side effect that with Meson >0.54.0 an
application depending on glib can declare the fallback without knowing
the dependency variable name: dependency('glib-2.0', fallback: 'glib').
2020-04-05 00:34:04 -04:00
..
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
COPYING gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule-ar.c gmodule: change _g_module_close to only take a handle. 2019-12-12 16:15:05 +00:00
gmodule-dl.c gmodule: change _g_module_close to only take a handle. 2019-12-12 16:15:05 +00:00
gmodule-win32.c gmodule: change _g_module_close to only take a handle. 2019-12-12 16:15:05 +00:00
gmodule.c gmodule: change _g_module_close to only take a handle. 2019-12-12 16:15:05 +00:00
gmodule.h gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule.rc.in meson: build Windows resource files 2018-01-04 22:19:30 +01:00
gmoduleconf.h.in gmodule: remove macOS dyld implementation 2019-09-07 16:41:34 +01:00
meson.build Meson: Override every dependency glib provides 2020-04-05 00:34:04 -04:00