Add i586-unknown-redox-pkg-config

This commit is contained in:
Jeremy Soller 2025-11-16 13:11:11 -07:00
parent 46cd1bd056
commit 35d0495769
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_SYSROOT}"
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/share/pkgconfig"
if [ -n "${COOKBOOK_DYNAMIC}" ]
then
exec pkg-config "$@"
else
exec pkg-config --static "$@"
fi