We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55009bf commit cf307daCopy full SHA for cf307da
Runtimes/Core/core/CMakeLists.txt
@@ -265,6 +265,10 @@ if(SwiftCore_ENABLE_VECTOR_TYPES)
265
"${CMAKE_CURRENT_BINARY_DIR}/SIMDVectorTypes.swift")
266
endif()
267
268
+if(APPLE AND BUILD_SHARED_LIBS)
269
+ target_link_options(swiftCore PRIVATE "SHELL:-Xlinker -headerpad_max_install_names")
270
+endif()
271
+
272
target_compile_options(swiftCore PRIVATE
273
$<$<COMPILE_LANGUAGE:Swift>:-parse-stdlib>
274
$<$<COMPILE_LANGUAGE:Swift>:-nostdimport>
0 commit comments