mirror of https://github.com/acidanthera/audk.git
BaseTools: Support recent versions of cx_freeze.
This patch fixes the assumed invalid command to start recent versions of cx_freeze on Windows, which are python and not Windows executables. To launch them correctly, the '$(PYTHON_HOME)\python' prefix has been added, so that Python can interpret the tool. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
df1e1b63d4
commit
89a811538e
|
@ -17,7 +17,7 @@
|
|||
|
||||
!IF EXIST ($(PYTHON_FREEZER_PATH)\cxfreeze)
|
||||
# Using cx_Freeze 4.2.3 with Python 2.7.2
|
||||
FREEZE=$(PYTHON_FREEZER_PATH)\cxfreeze
|
||||
FREEZE=$(PYTHON_HOME)\python $(PYTHON_FREEZER_PATH)\cxfreeze
|
||||
!ELSE
|
||||
# Using cx_Freeze 3.0.3 with Python 2.5.4
|
||||
FREEZE=$(PYTHON_FREEZER_PATH)\FreezePython.exe
|
||||
|
|
Loading…
Reference in New Issue