summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2019-11-20 09:03:47 -0600
committerChristoph Reiter <reiter.christoph@gmail.com>2019-12-11 18:30:14 +0100
commit0fa2593e7e1dabdc2e08b458f997430b6c2211f2 (patch)
treec1c4adfab8eb33342c9e0f5d40464f184dfe3840 /girepository
parentd2b48963894c0ee1a34b22632f8df9f66f274b5b (diff)
downloadgobject-introspection-0fa2593e7e1dabdc2e08b458f997430b6c2211f2.tar.gz
Fix build reproducibility
ba744068 ("Make meson.override_find_program working on more complex use cases") made the build no longer reproducible by encoding a build system path into the output. This shouldn't be necessary anyway, since it should be possible to add new paths to search for gir files by setting the XDG_DATA_DIR environment variable. Closes #318 Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Diffstat (limited to 'girepository')
-rw-r--r--girepository/girparser.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c
index fb47e75c..53450baf 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -309,10 +309,6 @@ 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;
}