mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
respect MAKEPANDA_THIRDPARTY env var
This commit is contained in:
parent
9b23b04b7d
commit
5e98a7d91e
@ -146,7 +146,8 @@ if not options.nsis:
|
||||
makensis = None
|
||||
except ImportError: pass
|
||||
if not makensis:
|
||||
makensis = os.path.join("thirdparty", "win-nsis", "makensis.exe")
|
||||
thirdparty = os.environ.get("MAKEPANDA_THIRDPARTY", "thirdparty")
|
||||
makensis = os.path.join(thirdparty, "win-nsis", "makensis.exe")
|
||||
if not os.path.isfile(makensis):
|
||||
makensis = None
|
||||
options.nsis = makensis
|
||||
|
Loading…
x
Reference in New Issue
Block a user