diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-23 09:31:06 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-06-23 13:12:51 -0400 |
commit | e5b62c8c27599699fa583a18e5346138799d9f50 (patch) | |
tree | 60dc24aa32d0b3baa87c9f77ec1e06fa8164cd2f /meson.build | |
parent | 6486619c1852021e204bda6cd79756a1aa8d7a9d (diff) | |
download | pango-e5b62c8c27599699fa583a18e5346138799d9f50.tar.gz |
Add a check for mixed linkageprevent-mixed-linkage
Having both pango 1.x and pango 2 linked into
the same process will cause trouble, because the
type and function names conflict.
Error out if we detect this situation.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index d7a1168b..b50e99ca 100644 --- a/meson.build +++ b/meson.build @@ -240,11 +240,13 @@ pango_deps += mathlib_dep # gobject glib_dep = dependency('glib-2.0', version: glib_req_version, fallback: ['glib', 'libglib_dep']) +gmodule_dep = dependency('gmodule-2.0', version: glib_req_version, + fallback : ['glib', 'libgmodule_dep']) gobject_dep = dependency('gobject-2.0', version: glib_req_version, fallback: ['glib', 'libgobject_dep']) gio_dep = dependency('gio-2.0', version: glib_req_version, fallback: ['glib', 'libgio_dep']) -pango_deps += [glib_dep, gobject_dep, gio_dep] +pango_deps += [glib_dep, gmodule_dep, gobject_dep, gio_dep] fribidi_dep = dependency('fribidi', version: fribidi_req_version, fallback: ['fribidi', 'libfribidi_dep'], |