Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9234b190ba
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (14 sloc) 0.397 kb
#!/usr/bin/env python
'''
emar - ar helper script
=======================
This script acts as a frontend replacement for ar. See emcc.
'''
import os, subprocess, sys
from tools import shared
DEBUG = os.environ.get('EMCC_DEBUG')
newargs = [shared.LLVM_AR] + sys.argv[1:]
if DEBUG:
print >> sys.stderr, 'emar:', sys.argv, ' ==> ', newargs
if len(newargs) > 2:
subprocess.call(newargs)
Jump to Line
Something went wrong with that request. Please try again.