Skip to content

Commit 319b8bd

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.
1 parent 757aaa3 commit 319b8bd

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
@@ -77,7 +77,7 @@ if (SWIFT_SWIFT_PARSER)
7777
)
7878

7979
swift_install_in_component(
80-
FILES "${SWIFT_HOST_LIBRARIES_DEST_DIR}/${sharedlib}"
80+
PROGRAMS "${SWIFT_HOST_LIBRARIES_DEST_DIR}/${sharedlib}"
8181
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/host"
8282
COMPONENT compiler
8383
)

0 commit comments

Comments
 (0)