[nautilus] Include pkg-config package name in introspection file.
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Include pkg-config package name in introspection file.
- Date: Thu, 10 Jan 2019 14:29:25 +0000 (UTC)
commit 4d0330a72161cffca5e71aaa2bdfc3513ebace64
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date: Sat Jan 5 00:00:00 2019 +0000
Include pkg-config package name in introspection file.
This effectively adds `<package name="libnautilus-extension"/>` to gir
xml file, which makes it easy to obtain necessary compiler and linker
flags for use in compile time bindings.
libnautilus-extension/meson.build | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/libnautilus-extension/meson.build b/libnautilus-extension/meson.build
index c01899498..ad791f60e 100644
--- a/libnautilus-extension/meson.build
+++ b/libnautilus-extension/meson.build
@@ -76,6 +76,9 @@ libnautilus_extension = shared_library(
if get_option('introspection')
gnome.generate_gir(
libnautilus_extension,
+ export_packages: [
+ 'libnautilus-extension'
+ ],
extra_args: [
'-DNAUTILUS_COMPILATION'
],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]