mirror of https://github.com/ARMmbed/mbed-os.git
verify libname before stripping
parent
be72993ee2
commit
a77182edcc
|
@ -200,7 +200,9 @@ class GccArm(Makefile):
|
|||
|
||||
@staticmethod
|
||||
def prepare_lib(libname):
|
||||
return "-l" + libname[3:-2]
|
||||
if "lib" == libname[:3]:
|
||||
libname = libname[3:-2]
|
||||
return "-l" + libname
|
||||
|
||||
@staticmethod
|
||||
def prepare_sys_lib(libname):
|
||||
|
|
Loading…
Reference in New Issue