From aa0f4e32ba8c86e0837024ea61221eb4074194e6 Mon Sep 17 00:00:00 2001 From: der richter Date: Fri, 26 Dec 2025 16:27:51 +0100 Subject: [PATCH] ci/mac: add homebrew libarchive pkg-config path to PKG_CONFIG_PATH libarchive can't be linked globally because macOS already has an old outdated version installed. --- ci/build-macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/build-macos.sh b/ci/build-macos.sh index b0a0be1caa..ea8a49ec25 100755 --- a/ci/build-macos.sh +++ b/ci/build-macos.sh @@ -12,7 +12,7 @@ if [[ -d "./build/${MPV_VARIANT}" ]] ; then rm -rf "./build/${MPV_VARIANT}" fi -PKG_CONFIG_PATH="${FFMPEG_SYSROOT}/lib/pkgconfig/" CC="${CC}" CXX="${CXX}" \ +PKG_CONFIG_PATH="${FFMPEG_SYSROOT}/lib/pkgconfig/:$(brew --prefix libarchive)/lib/pkgconfig/" CC="${CC}" CXX="${CXX}" \ meson setup build $common_args \ -Dprefix="${MPV_INSTALL_PREFIX}" \ -Dobjc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \