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.
This commit is contained in:
der richter committed 2026-01-06 11:37:14 +01:00
1 parent 5bee8f0f7f
commit aa0f4e32ba
1 file changed
+1 -1
+1 -1
View File
@@ -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" \