[vlc-commits] contrib: pkg-rewrite-absolute: Fix .pc file parser
Marvin Scholz
git at videolan.org
Thu Dec 19 11:22:48 CET 2019
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Dec 19 11:21:48 2019 +0100| [87a78f0696b9e59845b8abcba50a409b3c7b6b2b] | committer: Marvin Scholz
contrib: pkg-rewrite-absolute: Fix .pc file parser
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87a78f0696b9e59845b8abcba50a409b3c7b6b2b
---
contrib/src/pkg-rewrite-absolute.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/src/pkg-rewrite-absolute.py b/contrib/src/pkg-rewrite-absolute.py
index 7cab6c89d4..8b7967c93c 100755
--- a/contrib/src/pkg-rewrite-absolute.py
+++ b/contrib/src/pkg-rewrite-absolute.py
@@ -25,12 +25,14 @@ class PkgConfigFile():
# Add expanded version of variable
self.pc_variables_expanded.update({ key : self.expand_pc_vars(val) })
+ break
elif c is ':':
# This is a pkg-config keyword line
key = line[:i].strip()
val = line[(i + 1):].strip()
self.pc_keywords.update({ key : val })
+ break
def expand_pc_vars(self, line):
for key, val in self.pc_variables_expanded.items():
More information about the vlc-commits
mailing list