Skip to content

Commit 00f707f

Browse files
committed
build.ps1: clean up BUILD_WITH_INSTALL_RPATH usage
This is not necessary. This would only be needed for ELF targets which are able to be built properly with `chrpath` once you set the `CMAKE_EXECUTABLE_FORMAT` property.
1 parent e74dd99 commit 00f707f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

utils/build.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,6 @@ function Build-XCTest([Hashtable] $Platform) {
27922792
-SwiftSDK (Get-SwiftSDK $Platform.OS) `
27932793
-Defines @{
27942794
BUILD_SHARED_LIBS = "YES";
2795-
CMAKE_BUILD_WITH_INSTALL_RPATH = "YES";
27962795
CMAKE_INSTALL_BINDIR = $Platform.BinaryDir;
27972796
ENABLE_TESTING = "NO";
27982797
dispatch_DIR = $(Get-ProjectCMakeModules $Platform Dispatch);
@@ -2816,7 +2815,6 @@ function Test-XCTest {
28162815
-SwiftSDK $null `
28172816
-BuildTargets default,check-xctest `
28182817
-Defines @{
2819-
CMAKE_BUILD_WITH_INSTALL_RPATH = "YES";
28202818
CMAKE_Swift_FLAGS = @("-resource-dir", $SwiftRuntimeDirectory, "-vfsoverlay", "${RuntimeBinaryCache}\stdlib\windows-vfs-overlay.yaml");
28212819
ENABLE_TESTING = "YES";
28222820
dispatch_DIR = $(Get-ProjectCMakeModules $BuildPlatform Dispatch);
@@ -2839,7 +2837,6 @@ function Build-Testing([Hashtable] $Platform) {
28392837
-SwiftSDK (Get-SwiftSDK $Platform.OS) `
28402838
-Defines @{
28412839
BUILD_SHARED_LIBS = "YES";
2842-
CMAKE_BUILD_WITH_INSTALL_RPATH = "YES";
28432840
CMAKE_INSTALL_BINDIR = $Platform.BinaryDir;
28442841
dispatch_DIR = (Get-ProjectCMakeModules $Platform Dispatch);
28452842
Foundation_DIR = (Get-ProjectCMakeModules $Platform DynamicFoundation);

0 commit comments

Comments
 (0)