From 2c815155ae7f8bf5e5022e58c42d61720df37894 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 10 Sep 2012 16:34:27 -0700 Subject: [PATCH] use abspath in link() because we might chdir in the middle --- tools/shared.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/shared.py b/tools/shared.py index 672a1a182..2149df0ab 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):