package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
1.1 KiB

diff --git a/source/data/makedata.mak b/source/data/makedata.mak
--- a/source/data/makedata.mak
+++ b/source/data/makedata.mak
@@ -33,7 +33,7 @@ ICU_LIB_TARGET=$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll
!ENDIF
!MESSAGE ICU data make path is $(ICUMAKE)
-!IF [py -3 -c "exit(0)"]!=0
+!IF [python -c "exit(0)"]!=0
!MESSAGE Information: Unable to find Python 3. Data will fail to build from source.
!ENDIF
@@ -303,7 +303,7 @@
$(COREDATA_TS):
@cd "$(ICUSRCDATA)"
set PYTHONPATH=$(ICUP)\source\python;%PYTHONPATH%
- py -3 -B -m icutools.databuilder \
+ python -B -m icutools.databuilder \
--mode windows-exec \
--src_dir "$(ICUSRCDATA)" \
--tool_dir "$(ICUTOOLS)" \
diff --git a/source/test/testdata/testdata.mak b/source/test/testdata/testdata.mak
--- a/source/test/testdata/testdata.mak
+++ b/source/test/testdata/testdata.mak
@@ -35,7 +35,7 @@ CREATE_DIRS :
"$(TESTDATAOUT)\testdata.dat" :
@echo Building test data
set PYTHONPATH=$(ICUP)\source\python;%PYTHONPATH%
- py -3 -B -m icutools.databuilder \
+ python -B -m icutools.databuilder \
--mode windows-exec \
--tool_dir "$(ICUTOOLS)" \
--tool_cfg "$(CFG)" \