diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 1087ce1aff..7573e89606 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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)