gobject-introspection: Improve comment in patch

As the comment needed explanation, that it's about temporary build
files, this should do better.

Thanks again to @lethalman for pointing that out.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-01-23 00:14:53 +01:00
parent 723f7f8f4f
commit b3b444a79e
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

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