mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #4822 from JojoS62/fix-makefile-exporter
fix unresolved linker msg: __wrap_pull/4887/merge
commit
92ac0abca5
|
@ -200,7 +200,9 @@ class GccArm(Makefile):
|
|||
|
||||
@staticmethod
|
||||
def prepare_lib(libname):
|
||||
return "-l:" + libname
|
||||
if "lib" == libname[:3]:
|
||||
libname = libname[3:-2]
|
||||
return "-l" + libname
|
||||
|
||||
@staticmethod
|
||||
def prepare_sys_lib(libname):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "makefile/Makefile.tmpl" %}
|
||||
|
||||
{%- block sys_libs -%} -Wl,--start-group {{ld_sys_libs|join(" ")}} -Wl,--end-group {%- endblock -%}
|
||||
{%- block sys_libs -%} -Wl,--start-group {{ld_sys_libs|join(" ")}} {{libraries|join(" ")}} -Wl,--end-group {%- endblock -%}
|
||||
|
||||
{% block elf2bin %}
|
||||
$(ELF2BIN) -O binary $< $@
|
||||
|
|
Loading…
Reference in New Issue