diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2019-08-15 09:41:30 -0400 |
---|---|---|
committer | Thibault Saunier <saunierthibault@gmail.com> | 2019-08-15 13:58:07 +0000 |
commit | ba744068f2075dad4d5d3562c79034f23a6bb90a (patch) | |
tree | 678e417910d3c48db1af0c157cc6b8c4c849e94b /girepository | |
parent | 722d59c14cd0a82a0373fb305d0157f5281c076e (diff) | |
download | gobject-introspection-ba744068f2075dad4d5d3562c79034f23a6bb90a.tar.gz |
Make meson.override_find_program working on more complex use cases
Add some missing `meson.override_find_program`
And make sure that the `.gir` we build are found when used uninstalled
as a concequence of `meson.override_find_program`.
Diffstat (limited to 'girepository')
-rw-r--r-- | girepository/girparser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c index 53450baf..fb47e75c 100644 --- a/girepository/girparser.c +++ b/girepository/girparser.c @@ -309,6 +309,10 @@ locate_gir (GIrParser *parser, if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) return path; g_free (path); + path = g_build_filename (UNINSTALLED_GIR_DIR, girname, NULL); + if (g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) + return path; + g_free (path); return NULL; } |