makepanda: don't try to link static libs into static library

This commit is contained in:
rdb 2018-10-28 11:51:25 +01:00
parent afc994b2fb
commit 99aa598de0

View File

@ -1598,6 +1598,8 @@ def CompileLib(lib, obj, opts):
else:
cmd = GetAR() + ' cru ' + BracketNameWithQuotes(lib)
for x in obj:
if GetLinkAllStatic() and x.endswith('.a'):
continue
cmd += ' ' + BracketNameWithQuotes(x)
oscmd(cmd)