2010-04-28 22:41:49 +02:00
|
|
|
Index: TagsCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- TagsCheck.py.orig
|
2008-07-25 04:49:34 +02:00
|
|
|
+++ TagsCheck.py
|
2010-10-15 17:16:45 +02:00
|
|
|
@@ -631,10 +631,10 @@ class TagsCheck(AbstractCheck.AbstractCh
|
2010-04-28 22:41:49 +02:00
|
|
|
if pkg_config_regex.match(fname) and fname.endswith('.pc'):
|
2010-04-26 23:35:02 +02:00
|
|
|
has_pc = True
|
2008-07-25 04:49:34 +02:00
|
|
|
if has_so:
|
|
|
|
- base_or_libs = base + '/' + base + '-libs/lib' + base
|
2010-04-26 23:35:02 +02:00
|
|
|
+ base_or_libs = base + '*/' + base + '-libs/lib' + base + '*'
|
|
|
|
# try to match *%_isa as well (e.g. "(x86-64)", "(x86-32)")
|
|
|
|
base_or_libs_re = re.compile(
|
|
|
|
- '^(lib)?%s(-libs)?(\(\w+-\d+\))?$' % re.escape(base))
|
|
|
|
+ '^(lib)?%s(-libs)?[\d_]*(\(\w+-\d+\))?$' % re.escape(base))
|
2008-07-25 04:49:34 +02:00
|
|
|
for d in deps:
|
2010-04-26 23:35:02 +02:00
|
|
|
if base_or_libs_re.match(d[0]):
|
|
|
|
dep = d
|