#!/usr/bin/env bash

# reset pkg-config variables to ensure we're not polluted by host libraries

export PKG_CONFIG_DIR=
export PKG_CONFIG_PATH=
export PKG_CONFIG_SYSROOT_DIR=

export PKG_CONFIG_LIBDIR=${DEVKITPRO}/portlibs/switch/lib/pkgconfig

exec pkg-config --static "$@"

