diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-09-10 16:34:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-09-10 16:34:27 -0700 |
commit | 2c815155ae7f8bf5e5022e58c42d61720df37894 (patch) | |
tree | 880b420d3e04d3badf8ed75f84da0a24963f7884 | |
parent | f65c21c40a3570dda52f9b196a9a5ddf928a975a (diff) |
use abspath in link() because we might chdir in the middle
-rw-r--r-- | tools/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py index 672a1a18..2149df0a 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -561,6 +561,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)''' % { 'winfix': '' if not WINDOWS e unresolved_symbols = set(['main']) # tracking unresolveds is necessary for .a linking, see below. (and main is always a necessary symbol) resolved_symbols = set() temp_dir = None + files = map(os.path.abspath, files) for f in files: if not Building.is_ar(f): if Building.is_bitcode(f): |