#!/usr/bin/env python ''' emcc - ar helper script ======================= This script acts as a frontend replacement for ar. See emcc. ''' if set(sys.argv[1]).issubset(set('-cruqs')): # ar sys.argv = sys.argv[:1] + sys.argv[3:] + ['-o='+sys.argv[2]] assert use_linker, 'Linker should be used in this case'