From 712264528c8903e9b9a9c6cb753b9f60c5ad92a9 Mon Sep 17 00:00:00 2001 From: lemming104 Date: Wed, 19 Aug 2026 17:27:30 -0700 Subject: [PATCH 1/3] Bundle transitive dependencies of MacOS library --- .github/workflows/buildZMusic.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildZMusic.yaml b/.github/workflows/buildZMusic.yaml index c612f7b..1a76566 100644 --- a/.github/workflows/buildZMusic.yaml +++ b/.github/workflows/buildZMusic.yaml @@ -39,7 +39,7 @@ jobs: - os: macos-latest rid: osx-arm64 prereqs: | - brew install libsndfile mpg123 + brew install libsndfile mpg123 dylibbundler cmakeargsdynamic: -B build cmakeargsstatic: -B build -DLIBTYPE=STATIC -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DBUILD_SHARED_LIBS=OFF cmakeargscommon: -DDYN_SNDFILE:BOOL="0" -DDYN_MPG123:BOOL="0" @@ -71,8 +71,12 @@ jobs: cp ${{ matrix.libfiles }} build_native/${{ matrix.rid }} shell: bash - name: Strip Symbols (linux) - if: runner.os == 'Linux' + if: ${{ matrix.rid == 'linux-x64' }} run: strip build_native/linux-x64/*.so + - name: Bundle Dependencies (MacOS) + if: ${{ matrix.rid == 'osx-arm64' }} + run: dylibbundler -b -x libzmusic.dylib -d . -p . + working-directory: build-native/osx-arm64 - name: Upload Artifact uses: actions/upload-artifact@v4 with: From f659fb8701f2b89bf119f231643a93641497e211 Mon Sep 17 00:00:00 2001 From: lemming104 Date: Wed, 19 Aug 2026 17:33:08 -0700 Subject: [PATCH 2/3] Add explicit paths --- .github/workflows/buildZMusic.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/buildZMusic.yaml b/.github/workflows/buildZMusic.yaml index 1a76566..64bbd21 100644 --- a/.github/workflows/buildZMusic.yaml +++ b/.github/workflows/buildZMusic.yaml @@ -75,8 +75,7 @@ jobs: run: strip build_native/linux-x64/*.so - name: Bundle Dependencies (MacOS) if: ${{ matrix.rid == 'osx-arm64' }} - run: dylibbundler -b -x libzmusic.dylib -d . -p . - working-directory: build-native/osx-arm64 + run: dylibbundler -b -x build-native/osx-arm64/libzmusic.dylib -d build-native/osx-arm64 -p build-native/osx-arm64 - name: Upload Artifact uses: actions/upload-artifact@v4 with: From b076dc2ca8db627cdb59ba6932a68e2a7e364e0b Mon Sep 17 00:00:00 2001 From: lemming104 Date: Wed, 19 Aug 2026 17:37:39 -0700 Subject: [PATCH 3/3] It's underscore, dummy. --- .github/workflows/buildZMusic.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buildZMusic.yaml b/.github/workflows/buildZMusic.yaml index 64bbd21..a4acbcc 100644 --- a/.github/workflows/buildZMusic.yaml +++ b/.github/workflows/buildZMusic.yaml @@ -75,7 +75,8 @@ jobs: run: strip build_native/linux-x64/*.so - name: Bundle Dependencies (MacOS) if: ${{ matrix.rid == 'osx-arm64' }} - run: dylibbundler -b -x build-native/osx-arm64/libzmusic.dylib -d build-native/osx-arm64 -p build-native/osx-arm64 + run: dylibbundler -b -x libzmusic.dylib -d . -p . + working-directory: build_native/osx-arm64 - name: Upload Artifact uses: actions/upload-artifact@v4 with: