diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-02-07 17:05:22 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-02-08 18:45:37 -0500 |
commit | f0fe97c44891b20962d4c3f7122d205cdfc479aa (patch) | |
tree | 6b3c65085271ae698af196f941978c16897de079 /emar | |
parent | b782221bf8a5d1271c3277e27360adc1d5e7bb75 (diff) |
Use llvm-ar instead of llvm-link in emar
This makes the semantics of emar to be the same as the semantics of
system ar.
Diffstat (limited to 'emar')
-rwxr-xr-x | emar | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,11 +12,11 @@ from tools import shared DEBUG = os.environ.get('EMCC_DEBUG') -newargs = [shared.LLVM_LINK] + sys.argv[3:] + ['-o='+sys.argv[2]] +newargs = [shared.LLVM_AR] + sys.argv[1:] if DEBUG: print >> sys.stderr, 'emar:', sys.argv, ' ==> ', newargs if len(newargs) > 2: - os.execvp(shared.LLVM_LINK, newargs) + os.execvp(shared.LLVM_AR, newargs) |