Skip to content

Commit 7657ebc

Browse files
committed
Fix macOS build
1 parent 356d749 commit 7657ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ unamestr=$(uname)
3636
if [[ "$unamestr" == 'Linux' ]]; then
3737
export RUSTFLAGS='-Clink-arg=-Wl,-rpath=$ORIGIN/../lib '$RUSTFLAGS
3838
elif [[ "$unamestr" == 'Darwin' ]]; then
39-
export RUSTFLAGS='-Clink-arg=-Wl,-rpath,@loader_path/../lib -Zosx-rpath-install-name '$RUSTFLAGS
39+
export RUSTFLAGS='-Csplit-debuginfo=unpacked -Clink-arg=-Wl,-rpath,@loader_path/../lib -Zosx-rpath-install-name '$RUSTFLAGS
4040
dylib_ext='dylib'
4141
else
4242
echo "Unsupported os"

0 commit comments

Comments
 (0)