icu4c package: fix windows build quoting issue (#49196)

ICU4C's NMAKE seems to over-quote to the degree
that it  passes paths like ""<path>"" which
confuses the Python command line in subprocesses
the build starts
This commit is contained in:
John W. Parent 2025-03-10 21:19:28 -04:00 committed by GitHub
parent f3257cea90
commit f25cbb0fe4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/source/test/testdata/testdata.mak b/source/test/testdata/testdata.mak
index 2809efd..02f5b79 100644
--- a/source/test/testdata/testdata.mak
+++ b/source/test/testdata/testdata.mak
@@ -25,7 +25,7 @@ ALL : "$(TESTDATAOUT)\testdata.dat"
# old_e_testtypes.res is the same, but icuswapped to big-endian EBCDIC
-TESTDATATMP="$(TESTDATAOUT)\testdata"
+TESTDATATMP=$(TESTDATAOUT)\testdata
CREATE_DIRS :
@if not exist "$(TESTDATAOUT)\$(NULL)" mkdir "$(TESTDATAOUT)"

View File

@ -53,6 +53,9 @@ class Icu4c(AutotoolsPackage, MSBuildPackage):
depends_on("automake", type="build")
depends_on("libtool", type="build")
with when("build_system=msbuild"):
patch("ICU4C_NMAKE_NO_DOUBLE_QUOTE_VARS.patch", when="@64.1:")
conflicts(
"%intel@:16",
when="@60.1:",