Skip to content

Commit 1ed69f0

Browse files
committed
do not build with darwin platform flag to avoid entering the path that requires darwin internal SDK
1 parent 00342e1 commit 1ed69f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Package.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ var buildSettings: [CXXSetting] = [
6363
.define("ICU_DATA_DIR", to: "\"/usr/share/icu/\""),
6464
.define("USE_PACKAGE_DATA", to: "1"),
6565
.define("APPLE_ICU_CHANGES", to: "1"),
66+
.define("UCHAR_TYPE", to: "char16_t"),
67+
.define("U_PLATFORM_IS_DARWIN_BASED", to: "0"),
6668

6769
.headerSearchPath("common"),
6870
.headerSearchPath("io"),

0 commit comments

Comments
 (0)