@@ -49,7 +49,7 @@ index 89ec193..8ee92c3 100755
4949 group = get_preprocessor_option_group(parser)
5050 parser.add_option_group(group)
5151diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py
52−index 838d343..35b6dab 100644
52+index 838d343..ca7fc0d 100644
5353--- a/giscanner/shlibs.py
5454+++ b/giscanner/shlibs.py
5555@@ -53,10 +53,24 @@ def _resolve_libtool(options, binary, libraries):
@@ -67,8 +67,8 @@ index 838d343..35b6dab 100644
6767+ # First match Nix store paths because they need to be absolute.
6868+ (?:%s(?:/[^/]*)+)
6969+ # Everything else not a store path remains relative, because we
70−+ # would end up having absolute build paths in the resulting GIR
71−+ # file.
70++ # would end up with temporary paths that are only valid during
71++ # build time in the resulting GIR file.
7272+ | (?<=/)
7373+ )
7474+ # And finally the library itself: