aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/cleanup.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-02 06:08:09 -0500
committerJack Lloyd <[email protected]>2017-12-02 08:24:59 -0500
commit1891809fd886ef15aa8935f48dcc7d829003d4be (patch)
tree33a7b00cf825790d6cee3114d4eb3f3416fe3c1a /src/scripts/cleanup.py
parent3415a93a774f631e156ee8a187e376ff2789f27d (diff)
Build simplifications
Diffstat (limited to 'src/scripts/cleanup.py')
-rwxr-xr-xsrc/scripts/cleanup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripts/cleanup.py b/src/scripts/cleanup.py
index 6e4689003..33ae18a5e 100755
--- a/src/scripts/cleanup.py
+++ b/src/scripts/cleanup.py
@@ -100,7 +100,8 @@ def main(args=None):
remove_file(build_config['cli_exe'])
remove_file(build_config['test_exe'])
- matches_libname = re.compile('^' + build_config['lib_basename'] + '.([a-z]+)')
+ lib_basename = build_config['lib_prefix'] + build_config['libname']
+ matches_libname = re.compile('^' + lib_basename + '.([a-z]+)')
known_suffix = ['a', 'so', 'dll', 'manifest', 'exp']