Fix CCRX linking external dependencies

This commit is contained in:
Phillip Cao 2019-08-16 14:58:21 +12:00 committed by Jussi Pakkanen
parent 53289cb98c
commit 0384487fc5
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,8 @@ class CcrxCompiler:
continue
elif i.startswith('-L'):
continue
elif not i.startswith('-lib=') and i.endswith(('.a', '.lib')):
i = '-lib=' + i
result.append(i)
return result