#!/usr/bin/env bash
# pkg-config for the PS5 build: only the libraries ps5/deps/build-deps.sh built.
# (The SDK's prospero-pkg-config replaces PKG_CONFIG_LIBDIR with its own.)
prefix=${VLC_PS5_PREFIX:-$HOME/ps5/vlc-ps5/prefix-ps5}
# FreeBSD targets (meson) may install .pc files to libdata/pkgconfig.
export PKG_CONFIG_LIBDIR=$prefix/lib/pkgconfig:$prefix/libdata/pkgconfig
unset PKG_CONFIG_PATH PKG_CONFIG_SYSROOT_DIR
exec pkg-config --static "$@"
