Skip to content

Commit

Permalink
Fix xz build option
Browse files Browse the repository at this point in the history
  • Loading branch information
qqfunc authored Aug 18, 2024
1 parent 7c4ec91 commit b86f80e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,13 @@ jobs:
working-directory: xz-${{ needs.fetch.outputs.xz }}
run: >
./configure
CC="xcrun --sdk ${{ matrix.build.sdk }} clang -target ${{ matrix.build.host }}"
CFLAGS="--sysroot=$(xcrun --sdk ${{ matrix.build.sdk }} --show-sdk-path) -mios-version-min=${{ needs.fetch.outputs.ffi }}"
--prefix="${{ github.workspace }}/install/xz"
--host=${{ matrix.build.host }}
--disable-shared
--enable-static
--host=${{ matrix.build.host }}
--build=arm64-apple-darwin
--prefix="${{ github.workspace }}/install/xz"
CC="xcrun --sdk ${{ matrix.build.sdk }} clang -target ${{ matrix.build.host }}"
CFLAGS="--sysroot=$(xcrun --sdk ${{ matrix.build.sdk }} --show-sdk-path) -mios-version-min=${{ needs.fetch.outputs.ios }}"
LDFLAGS="-isysroot $(xcrun --sdk ${{ matrix.build.sdk }} --show-sdk-path) -mios-version-min=${{ needs.fetch.outputs.ios }}"
- name: Build XZ Utils
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
working-directory: xz-${{ needs.fetch.outputs.xz }}
Expand Down

0 comments on commit b86f80e

Please sign in to comment.