mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
makepanda: don't try to link static libs into static library
This commit is contained in:
parent
afc994b2fb
commit
99aa598de0
@ -1598,6 +1598,8 @@ def CompileLib(lib, obj, opts):
|
|||||||
else:
|
else:
|
||||||
cmd = GetAR() + ' cru ' + BracketNameWithQuotes(lib)
|
cmd = GetAR() + ' cru ' + BracketNameWithQuotes(lib)
|
||||||
for x in obj:
|
for x in obj:
|
||||||
|
if GetLinkAllStatic() and x.endswith('.a'):
|
||||||
|
continue
|
||||||
cmd += ' ' + BracketNameWithQuotes(x)
|
cmd += ' ' + BracketNameWithQuotes(x)
|
||||||
oscmd(cmd)
|
oscmd(cmd)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user