Skip to content

Commit a337076

Browse files
committed
Runtime: install APINotes to the right location
The installation location for API Notes needs to be non-static always. Fixes: swiftlang#82993
1 parent 22a8b28 commit a337076

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Runtimes/Overlay/Android/clang/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ target_compile_options(SwiftAndroid INTERFACE
3030

3131
install(FILES
3232
android.modulemap
33+
posix_filesystem.apinotes
34+
spawn.apinotes
3335
SwiftAndroidNDK.h
3436
SwiftBionic.h
3537
DESTINATION ${CMAKE_INSTALL_LIBDIR}/swift/${SwiftOverlay_PLATFORM_SUBDIR}/${SwiftOverlay_ARCH_SUBDIR})
36-
37-
install(FILES
38-
posix_filesystem.apinotes
39-
spawn.apinotes
40-
DESTINATION ${CMAKE_INSTALL_LIBDIR}/swift$<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:_static>/apinotes)

0 commit comments

Comments
 (0)