Skip to content

Commit 5bbab90

Browse files
committed
[CMake] Fix install for macOS toolchain
recursive-lipo requires shared libraries have +x permissions. Use PROGRAMS instead of FILES when installing swift-syntax libraries. (cherry picked from commit 319b8bd)
1 parent f5445f4 commit 5bbab90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if (SWIFT_SWIFT_PARSER)
8080
)
8181

8282
swift_install_in_component(
83-
FILES "${SWIFT_HOST_LIBRARIES_DEST_DIR}/${sharedlib}"
83+
PROGRAMS "${SWIFT_HOST_LIBRARIES_DEST_DIR}/${sharedlib}"
8484
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/host"
8585
COMPONENT compiler
8686
)

0 commit comments

Comments
 (0)