Skip to content

Commit 478f3f1

Browse files
authored
Merge pull request #8 from compnerd/static
build: indicate that we are building ICU statically
2 parents 0b214cc + 324a7c6 commit 478f3f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ let buildSettings: [CXXSetting] = [
77
.define("DEBUG", to: "1", .when(configuration: .debug)),
88
.define("U_SHOW_CPLUSPLUS_API", to: "1"),
99
.define("U_SHOW_INTERNAL_API", to: "1"),
10+
.define("U_STATIC_IMPLEMENTATION"),
1011
.define("U_TIMEZONE", to: "timezone"),
1112
.define("U_TIMEZONE_PACKAGE", to: "\"icutz44l\""),
1213
.define("FORTIFY_SOURCE", to: "2"),
@@ -101,4 +102,4 @@ fileprivate extension Array {
101102
me.append(contentsOf: other)
102103
return me
103104
}
104-
}
105+
}

0 commit comments

Comments
 (0)