summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2022-02-14 16:04:44 +0100
committerAleksander Morgado <aleksander@aleksander.es>2022-04-28 11:19:57 +0200
commit174308daae957fdea819f92b696913ca9bb10a8d (patch)
tree831235349e03d0300c1e563e127cb56b0b8c6a43 /src
parent4e0371cce8f2ffee0487b05415d433910b9c3842 (diff)
build,meson: fix 'export_packages' in GIR setup
The 'export_packages' field in the generate_gir() command should include the name of the pkg-config package being exported, not the name of the library file. Without this change, building GIR files depending on the one we provide here would fail as the corresponding .pc file isn't found. (cherry picked from commit 772f0fc1fac861966c5296ef697aa270b1e040e0)
Diffstat (limited to 'src')
-rw-r--r--src/libqmi-glib/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libqmi-glib/meson.build b/src/libqmi-glib/meson.build
index ac91bd5..0a8c0cc 100644
--- a/src/libqmi-glib/meson.build
+++ b/src/libqmi-glib/meson.build
@@ -166,7 +166,7 @@ if enable_gir and get_option('default_library') != 'static'
symbol_prefix: ns.to_lower() + '_',
extra_args: common_c_flags + ['--identifier-prefix=' + ns.to_upper()],
header: 'libqmi-glib.h',
- export_packages: 'libqmi-glib',
+ export_packages: libname,
install: true,
)
endif