From 99aa598de00e7c1d748fa6f20dc85d031ea1622c Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 28 Oct 2018 11:51:25 +0100 Subject: [PATCH] makepanda: don't try to link static libs into static library --- makepanda/makepanda.py | 2 ++ 1 file changed, 2 insertions(+) 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)