forked from amazingfate/loongoffice
fdo#77891 fix python crash when in GUI mode, target WinXP with VS2012
VS2012 did change return value of fileno function, this results in a crash when run in GUI mode (but not when launching from a shell), as python tries to access the nonexisting stdin/stdout/stderr Also explicitly target Windows XP Change-Id: Ic783713b55453f3c38b2e766a664b7f4678711de
This commit is contained in:
2
external/python3/ExternalProject_python3.mk
vendored
2
external/python3/ExternalProject_python3.mk
vendored
@ -37,7 +37,7 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
|
||||
/p:Platform=$(if $(filter INTEL,$(CPUNAME)),Win32,x64) \
|
||||
$(if $(filter 100,$(VCVER)), \
|
||||
/ToolsVersion:4.0, \
|
||||
/p:PlatformToolset=v110 /p:VisualStudioVersion=11.0) \
|
||||
/p:PlatformToolset=v110_xp /p:VisualStudioVersion=11.0) \
|
||||
&& cd $(EXTERNAL_WORKDIR) \
|
||||
&& ln -s PCbuild LO_lib \
|
||||
,PCBuild)
|
||||
|
||||
Reference in New Issue
Block a user