From 1613c253cc7503387d187ee68908c4b254afe3c0 Mon Sep 17 00:00:00 2001 From: Stefan Sundin Date: Sat, 17 Apr 2021 19:48:28 -0700 Subject: [PATCH] Compile universal binary. Set the minimum macOS version to 10.4. --- mac/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mac/build.sh b/mac/build.sh index beaa67f..164ce21 100755 --- a/mac/build.sh +++ b/mac/build.sh @@ -1,3 +1,3 @@ #!/bin/bash -ex mkdir -p VLC-protocol-app/Contents/MacOS -gcc -framework Cocoa -o VLC-protocol-app/Contents/MacOS/vlc-protocol vlc-protocol.m +gcc -mmacosx-version-min=10.4 -arch x86_64 -arch arm64 -framework Cocoa -o VLC-protocol-app/Contents/MacOS/vlc-protocol vlc-protocol.m