diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 16:18:29 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 16:18:29 -0700 |
commit | e6c426b74bfdd16673264e3301dd2535f6fbf448 (patch) | |
tree | f138eb313719cf781eed61b35a87c8002311426d /emcc | |
parent | 2e570754a50b5ae8bae2bbf3f92c859a3ff13278 (diff) |
force-include .a contents when it is the only input aside from linked libraries
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1413,7 +1413,7 @@ try: linker_inputs = temp_files + extra_files_to_link logging.debug('linking: ' + str(linker_inputs)) t0 = time.time() - shared.Building.link(linker_inputs, in_temp(target_basename + '.bc')) + shared.Building.link(linker_inputs, in_temp(target_basename + '.bc'), force_archive_contents = len(input_files) == 1 and temp_files[0].endswith(STATICLIB_SUFFIXES)) t1 = time.time() logging.debug(' linking took %.2f seconds' % (t1 - t0)) final = in_temp(target_basename + '.bc') |