aboutsummaryrefslogtreecommitdiff
path: root/emld
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-20 16:03:39 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-20 16:03:39 -0700
commitcdc82664d8dfcc4cb8b9df86c24611b723073236 (patch)
treef76ea279d1f2b3299d96430ba4d22dfa8f366449 /emld
parented9b24c6844c70cee2540a4f1ce60795a7d64f03 (diff)
parentcba66bcb2ae87140d43b85c64a5a8f14fb9fab8a (diff)
Merge pull request #312 from SiggyBar/incoming
Misc fixes for Windows.
Diffstat (limited to 'emld')
-rwxr-xr-xemld4
1 files changed, 2 insertions, 2 deletions
diff --git a/emld b/emld
index 954465c6..695be784 100755
--- a/emld
+++ b/emld
@@ -9,7 +9,7 @@ This script acts as a frontend replacement for the ld linker. See emcc.
We could use the compiler code for this, but here we want to be careful to use all the linker flags we have been passed, sending them to ld.
'''
-import os, sys
+import os, subprocess, sys
from tools import shared
DEBUG = os.environ.get('EMCC_DEBUG')
@@ -56,5 +56,5 @@ if target:
newargs.append('-o=' + actual_target)
if DEBUG: print >> sys.stderr, "emld running:", call, ' '.join(newargs)
-os.execvp(call, [call] + newargs)
+subprocess.call([call] + newargs)