diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2017-03-02 14:53:31 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2017-03-03 17:06:18 +0100 |
commit | fd50ac5011462d163f228d067a8e8e947b05ad32 (patch) | |
tree | 6d4543baf1ef4450952e7179f0a6de25d2cf5037 | |
parent | 76cefc82950cafcd8390c9c3bfdd8492083dfa63 (diff) | |
download | nautilus-fd50ac5011462d163f228d067a8e8e947b05ad32.tar.gz |
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
-rw-r--r-- | 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 6da5a102f..067ad2414 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', |