[tracker-miners/sam/meson-subproject-build-fail] build: Fix configure error in tracker_core=subproject mode




commit aaf89b301cfcc68fa3a4c2bee9cc8a374723823c
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Mon Jun 21 16:38:52 2021 +0200

    build: Fix configure error in tracker_core=subproject mode
    
    Fixes the following error from Meson:
    
        ../meson.build:459:21: ERROR: Unknown variable "tracker_sparql_uninstalled_dir".
    
    Nothing changed recently here but it looks like we didn't correctly
    query that variable from the 'tracker' subproject, relying on it being
    implicitly available. With Meson 0.55.3 this wasn't working, but perhaps
    it worked with earlier versions.

 meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 4f777fc05..1eb134b56 100644
--- a/meson.build
+++ b/meson.build
@@ -47,6 +47,8 @@ else
   tracker_uninstalled_stop_words_dir = tracker_subproject.get_variable('tracker_uninstalled_stop_words_dir')
   tracker_uninstalled_testutils_dir = tracker_subproject.get_variable('tracker_uninstalled_testutils_dir')
   tracker_ontologies_dir = tracker_subproject.get_variable('tracker_ontologies_dir')
+
+  tracker_sparql_uninstalled_dir = tracker_subproject.get_variable('tracker_sparql_uninstalled_dir')
 endif
 
 avcodec = dependency('libavcodec', version: '>= 0.8.4', required: false)


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