aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-04-04 00:04:02 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-04-04 01:03:43 -0400
commitc6e2a28f69e7ece46b711eb87b80ab110ff889a8 (patch)
tree2d8894006aeabd390f85b13f6d9ac78069149477 /emcc
parent9c381c5317a10f797fac9d81d8d27fb68a612018 (diff)
Ignore -install_name argument the way we do for -MT
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 8f4ed684..4dfa3400 100755
--- a/emcc
+++ b/emcc
@@ -542,7 +542,7 @@ try:
if i > 0:
prev = newargs[i-1]
- if prev == '-MT': continue # ignore this gcc-style argument
+ if prev in ['-MT', '-install_name']: continue # ignore this gcc-style argument
if arg.endswith(SOURCE_SUFFIXES + BITCODE_SUFFIXES + DYNAMICLIB_SUFFIXES + ASSEMBLY_SUFFIXES) or shared.Building.is_ar(arg): # we already removed -o <target>, so all these should be inputs
newargs[i] = ''