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