[nautilus] meson: set correct libnautilus-extension version in .pc
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] meson: set correct libnautilus-extension version in .pc
- Date: Fri, 3 Mar 2017 16:07:14 +0000 (UTC)
commit fd50ac5011462d163f228d067a8e8e947b05ad32
Author: Ernestas Kulik <ernestask gnome org>
Date: Thu Mar 2 14:53:31 2017 +0200
meson: set correct libnautilus-extension version in .pc
Currently, when building with Meson, the version of the pkg-config file
for libnautilus-extension is set to the version of the library itself.
This is incompatible with how it was before - the version was set to the
version of Nautilus. That breaks some modules that build extensions
(e.g. file-roller).
https://bugzilla.gnome.org/show_bug.cgi?id=779472
libnautilus-extension/meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-extension/meson.build b/libnautilus-extension/meson.build
index 6da5a10..067ad24 100644
--- a/libnautilus-extension/meson.build
+++ b/libnautilus-extension/meson.build
@@ -59,7 +59,7 @@ pkgconfig_data.set ('exec_prefix', '${prefix}')
pkgconfig_data.set ('libdir', join_paths ('${exec_prefix}', libdir))
pkgconfig_data.set ('includedir', join_paths ('${prefix}', includedir))
pkgconfig_data.set ('extensiondir', join_paths ('${exec_prefix}', extensiondir))
-pkgconfig_data.set ('VERSION', nautilus_extension_version)
+pkgconfig_data.set ('VERSION', meson.project_version ())
configure_file (input: 'libnautilus-extension.pc.in',
output: 'libnautilus-extension.pc',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]