aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-25 15:07:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-25 15:07:52 -0800
commitd620f29853c826a062e3a64604595a6fcccc7d2a (patch)
tree4475d9b42df8c8cb420781508ac2b03edc35a7b5
parenta6026f992e5c630c600127527dc5958d3053b8cb (diff)
use llvm-link in emar instead of llvm-ld
-rwxr-xr-xemar4
1 files changed, 2 insertions, 2 deletions
diff --git a/emar b/emar
index 312bd4a4..49d995bd 100755
--- a/emar
+++ b/emar
@@ -12,11 +12,11 @@ from tools import shared
DEBUG = os.environ.get('EMCC_DEBUG')
-newargs = [shared.EMLD] + sys.argv[3:] + ['-o='+sys.argv[2]]
+newargs = [shared.LLVM_LINK] + sys.argv[3:] + ['-o='+sys.argv[2]]
if DEBUG:
print >> sys.stderr, 'emar:', sys.argv, ' ==> ', newargs
if len(newargs) > 2:
- os.execvp(shared.EMLD, newargs)
+ os.execvp(shared.LLVM_LINK, newargs)