Skip to content

Commit 2123a42

Browse files
Ross BayerRostepher
authored andcommitted
Set the default install_name_dir for dylibs to /usr/lib/swift on Apple platforms (except for XCTest).
1 parent 1f5f040 commit 2123a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ option(SWIFT_RUNTIME_CRASH_REPORTER_CLIENT
253253
set(SWIFT_DARWIN_XCRUN_TOOLCHAIN "XcodeDefault" CACHE STRING
254254
"The name of the toolchain to pass to 'xcrun'")
255255

256-
set(SWIFT_DARWIN_STDLIB_INSTALL_NAME_DIR "@rpath" CACHE STRING
256+
set(SWIFT_DARWIN_STDLIB_INSTALL_NAME_DIR "/usr/lib/swift" CACHE STRING
257257
"The directory of the install_name for standard library dylibs")
258258

259259
set(SWIFT_DARWIN_DEPLOYMENT_VERSION_OSX "10.9" CACHE STRING

0 commit comments

Comments
 (0)