mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Use 64-bit regview when making 64-bit builds to fix interaction between Python installations/libraries and Panda3D
This commit is contained in:
parent
07404ff694
commit
cd01f15c77
@ -5908,6 +5908,11 @@ def MakeInstallerNSIS(file, fullname, smdirectory, installdir):
|
||||
psource = os.path.abspath(".")
|
||||
panda = os.path.abspath(GetOutputDir())
|
||||
|
||||
if GetTargetArch() == 'x64':
|
||||
regview = '64'
|
||||
else:
|
||||
regview = '32'
|
||||
|
||||
nsis_defs = {
|
||||
'COMPRESSOR' : COMPRESSOR,
|
||||
'NAME' : fullname,
|
||||
@ -5924,6 +5929,7 @@ def MakeInstallerNSIS(file, fullname, smdirectory, installdir):
|
||||
'PANDACONF' : os.path.join(panda, 'etc'),
|
||||
'PSOURCE' : psource,
|
||||
'PYEXTRAS' : os.path.join(os.path.abspath(GetThirdpartyBase()), 'win-extras'),
|
||||
'REGVIEW' : regview,
|
||||
}
|
||||
|
||||
if GetHost() == 'windows':
|
||||
|
Loading…
x
Reference in New Issue
Block a user