From 1b3a1c788f6a72efa5d62b7fa73950894f669789 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sun, 24 Aug 2025 22:24:47 +1200 Subject: [PATCH 1/2] CICD: Fix the macOS Build. Fix the shared cache error during linking. Signed-off-by: Michael Keller --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 41fa3031..d418a756 100644 --- a/configure.ac +++ b/configure.ac @@ -217,6 +217,11 @@ AS_IF([test "$platform" = "windows"], [ AX_APPEND_COMPILE_FLAGS([-Wno-pedantic-ms-format]) ]) +# macOS specific compiler options. +AS_IF([test "$platform" = "mac"], [ + AX_APPEND_COMPILE_FLAGS([-Wl,-not_for_dyld_shared_cache]) +]) + # Versioning. AC_SUBST([DC_VERSION],[dc_version]) AC_SUBST([DC_VERSION_MAJOR],[dc_version_major]) From 847d6c34b375f4f994061860a7fbe2687b8f90da Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sun, 24 Aug 2025 22:28:47 +1200 Subject: [PATCH 2/2] CICD: Fix the linux Build. Update the package cache before trying to install packages from it. Signed-off-by: Michael Keller --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 362bfd70..3fe3f374 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install dependencies - run: sudo apt-get install libbluetooth-dev libusb-1.0-0-dev + run: | + sudo apt-get update + sudo apt-get install libbluetooth-dev libusb-1.0-0-dev - run: autoreconf --install --force - run: ./configure --prefix=/usr - run: make