Skip to content

Commit 93b318e

Browse files
committed
Fix ICU static linking
1 parent b8a67da commit 93b318e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Foundation/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ if(NOT BUILD_SHARED_LIBS)
179179
target_compile_options(Foundation
180180
PRIVATE
181181
"SHELL:-Xfrontend -public-autolink-library -Xfrontend ${icu_i18n_basename}
182+
-Xfrontend -public-autolink-library -Xfrontend icuucswift
183+
-Xfrontend -public-autolink-library -Xfrontend icudataswift
182184
-Xfrontend -public-autolink-library -Xfrontend BlocksRuntime")
183185
# ICU libraries are linked by absolute library path in this project,
184186
# but -public-autolink-library forces to resolve library path by

0 commit comments

Comments
 (0)