diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-01-30 20:05:38 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-01-30 20:05:38 +0100 |
| commit | 7657ebccc86fc6ac18f8fdd79987050a71523b0a (patch) | |
| tree | 2b5e9cbf5a4e1608f736d31b1cfa2e3abce00a60 | |
| parent | 356d749952c2ebc66a30c36f45da57f37f7baac0 (diff) | |
| download | rust-7657ebccc86fc6ac18f8fdd79987050a71523b0a.tar.gz rust-7657ebccc86fc6ac18f8fdd79987050a71523b0a.zip | |
Fix macOS build
| -rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh index d135c938bf5..344e4295636 100755 --- a/build.sh +++ b/build.sh @@ -36,7 +36,7 @@ unamestr=$(uname) if [[ "$unamestr" == 'Linux' ]]; then export RUSTFLAGS='-Clink-arg=-Wl,-rpath=$ORIGIN/../lib '$RUSTFLAGS elif [[ "$unamestr" == 'Darwin' ]]; then - export RUSTFLAGS='-Clink-arg=-Wl,-rpath,@loader_path/../lib -Zosx-rpath-install-name '$RUSTFLAGS + export RUSTFLAGS='-Csplit-debuginfo=unpacked -Clink-arg=-Wl,-rpath,@loader_path/../lib -Zosx-rpath-install-name '$RUSTFLAGS dylib_ext='dylib' else echo "Unsupported os" |
