mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
We can't apply two resource files to the same file if they each specify an icon
This commit is contained in:
parent
9126fad01b
commit
7e334e781e
@ -808,7 +808,7 @@ def CompileLink(dll, obj, opts):
|
||||
elif (x.endswith(".dat")):
|
||||
pass
|
||||
else: cmd += ' ' + BracketNameWithQuotes(x)
|
||||
if (GetOrigExt(dll)==".exe"):
|
||||
if (GetOrigExt(dll)==".exe" and "NOICON" not in opts):
|
||||
cmd += " " + GetOutputDir() + "/tmp/pandaIcon.res"
|
||||
for (opt, name) in LIBNAMES:
|
||||
if (opt=="ALWAYS") or (opts.count(opt)): cmd += " " + BracketNameWithQuotes(name)
|
||||
@ -3411,7 +3411,7 @@ if (RUNTIME):
|
||||
TargetAdd('panda3d.exe', input='libp3dtoolconfig.dll')
|
||||
TargetAdd('panda3d.exe', input='libp3dtool.dll')
|
||||
TargetAdd('panda3d.exe', input='libp3pystub.dll')
|
||||
TargetAdd('panda3d.exe', opts=['TINYXML', 'OPENSSL', 'ZLIB', 'WINGDI', 'WINUSER', 'WINSHELL', 'ADVAPI', 'WINSOCK2', 'WINOLE', 'CARBON'])
|
||||
TargetAdd('panda3d.exe', opts=['NOICON', 'TINYXML', 'OPENSSL', 'ZLIB', 'WINGDI', 'WINUSER', 'WINSHELL', 'ADVAPI', 'WINSOCK2', 'WINOLE', 'CARBON'])
|
||||
|
||||
if (sys.platform == "darwin"):
|
||||
TargetAdd('plugin_standalone_panda3dMac.obj', opts=OPTS, input='panda3dMac.cxx')
|
||||
|
Loading…
x
Reference in New Issue
Block a user