From d4bead109ec4c693da0f47b9c0fddbc631a533cb Mon Sep 17 00:00:00 2001 From: Kaalleen Date: Fri, 18 Feb 2022 16:18:10 +0100 Subject: test to build with specified arch (macOS) --- bin/build-python | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin/build-python') diff --git a/bin/build-python b/bin/build-python index 195248c3..3cc3139b 100755 --- a/bin/build-python +++ b/bin/build-python @@ -38,7 +38,13 @@ pyinstaller_args+="--log-level DEBUG " # This adds bundle identifier in reverse DSN format for macos if [ "$BUILD" = "osx" ]; then pyinstaller_args+="--osx-bundle-identifier org.inkstitch.app " +<<<<<<< HEAD pyinstaller_args+="-i electron/build/icons/mac/inkstitch.icns" +======= + # in macOS we get an error when building libgfortran: incompatible with target arch x86_64 (has arch: arm64)! + # let's try if this fixes it + pyinstaller_args+="--target-arch x86_64 " +>>>>>>> bcf63fec (test to build with specified arch (macOS)) if [[ -z ${GITHUB_REF} ]]; then echo "Dev or Local Build" else -- cgit v1.2.3