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.
2 parents ded5bab + e0ceb57 commit ce90d0cCopy full SHA for ce90d0c
src/CMakeLists.txt
@@ -188,6 +188,15 @@ if(USE_GOLD_LINKER)
188
-fuse-ld=gold)
189
endif()
190
191
+# Temporary staging; the various swift projects that depend on libdispatch
192
+# all expect libdispatch.so to be in src/.libs/libdispatch.so
193
+# So for now, make a copy so we don't have to do a coordinated commit across
194
+# all the swift projects to change this assumption.
195
+add_custom_command(TARGET dispatch POST_BUILD
196
+ COMMAND cmake -E make_directory .libs
197
+ COMMAND cmake -E copy $<TARGET_FILE:dispatch> .libs
198
+ COMMENT "Copying libdispatch to .libs")
199
+
200
install(TARGETS
201
dispatch
202
DESTINATION
0 commit comments