[tracker] meson: Fix hardcoded TRACKER_API_VERSION=1.0



commit 42406dd6591a185d5a5b6505f775f1c127ce4f4f
Author: Sam Thursfield <sam afuera me uk>
Date:   Thu Sep 28 18:14:21 2017 +0100

    meson: Fix hardcoded TRACKER_API_VERSION=1.0
    
    This was causing .pc files with wrong dependencies to be generated when
    building with Meson, and probably other issues.

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index f955ea9..3b7ecce 100644
--- a/meson.build
+++ b/meson.build
@@ -258,7 +258,7 @@ conf.set('includedir', join_paths(get_option('prefix'), get_option('includedir')
 conf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
 conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
 conf.set('prefix', get_option('prefix'))
-conf.set('TRACKER_API_VERSION', '1.0')
+conf.set('TRACKER_API_VERSION', tracker_api_version)
 conf.set('VERSION', meson.project_version())
 
 configure_file(input: 'config.h.meson.in',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]