From c7d15052e6293076c875dd51ae7d557a50d344b8 Mon Sep 17 00:00:00 2001 From: ddelange <14880945+ddelange@users.noreply.github.com> Date: Wed, 29 May 2024 01:25:44 +0200 Subject: [PATCH] Switch to chmod --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1536a7f..b679961 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -93,7 +93,7 @@ jobs: env: CIBW_BUILD_VERBOSITY: 1 # add compiled libmagic to the build directory (to include in the wheel) - CIBW_BEFORE_BUILD: ${{ ( startsWith( matrix.os, 'macos' ) && 'sudo mkdir -m 777 /usr/local/lib /usr/local/include /usr/local/share/misc && bash add_libmagic.sh' ) || 'bash add_libmagic.sh' }} + CIBW_BEFORE_BUILD: ${{ ( startsWith( matrix.os, 'macos' ) && 'sudo chmod -R 777 /usr && bash add_libmagic.sh' ) || 'bash add_libmagic.sh' }} # build macos wheels with maximum backwards compatibility (gcc -mmacosx-version-min flag) MACOSX_DEPLOYMENT_TARGET: ${{ ( endsWith( matrix.only, 'arm64' ) && '11.0' ) || '10.9' }} # simple smoke test run on each wheel: this is an HLS MP4 video, only recognised in recent versions of libmagic