[gtk-mac-bundler] Strip the compatibility information from otool output before submitting it to relative_path_map().
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-mac-bundler] Strip the compatibility information from otool output before submitting it to relative_path_map().
- Date: Thu, 13 Dec 2012 21:56:11 +0000 (UTC)
commit 2c888614b17304f8e40db50273914d901105998e
Author: John Ralls <jralls ceridwen us>
Date: Tue Nov 6 10:07:57 2012 -0800
Strip the compatibility information from otool output before submitting it to relative_path_map().
bundler/bundler.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/bundler/bundler.py b/bundler/bundler.py
index 9330f08..abca042 100644
--- a/bundler/bundler.py
+++ b/bundler/bundler.py
@@ -380,6 +380,8 @@ class Bundler:
return True
lines = filter(prefix_filter, [line.strip() for line in f])
+ p = re.compile("(.*\.dylib\.?.*)\s\(compatibility.*$")
+ lines = utils.filterlines(p, lines)
lines = map(relative_path_map, lines)
#When you need to track down errors, uncomment this blocK
# for path in paths:
@@ -388,9 +390,6 @@ class Bundler:
# f = os.popen(cmd)
# lines = filter(prefix_filter, [line.strip() for line in f])
- p = re.compile("(.*\.dylib\.?.*)\s\(compatibility.*$")
- lines = utils.filterlines(p, lines)
-
new_libraries = []
for library in set(lines):
# Replace the real path with the right prefix so we can
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]