Skip to content

Commit 4b85d8b

Browse files
committed
Raise MACOSX_DEPLOYMENT_TARGET for samply-mac-preload to 10.12, the minimum version supported by Rust.
1 parent 99e0b85 commit 4b85d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samply-mac-preload/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
2-
MACOSX_DEPLOYMENT_TARGET=10.7 cargo build --release --target=x86_64-apple-darwin
2+
MACOSX_DEPLOYMENT_TARGET=10.12 cargo build --release --target=x86_64-apple-darwin
33
mv target/x86_64-apple-darwin/release/libsamply_mac_preload.dylib binaries/libsamply_mac_preload_x86_64.dylib
44
MACOSX_DEPLOYMENT_TARGET=11.0 cargo build --release --target=aarch64-apple-darwin
55
mv target/aarch64-apple-darwin/release/libsamply_mac_preload.dylib binaries/libsamply_mac_preload_arm64.dylib

0 commit comments

Comments
 (0)