Append `share/pkgconfig` to PKG_CONFIG_LIBDIR

This commit is contained in:
Tee KOBAYASHI 2022-11-09 16:41:50 +09:00 committed by xtkoba
parent 79f3818686
commit 3f1be51372
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ termux_step_start_build() {
test -t 1 && printf "\033]0;%s...\007" "$TERMUX_PKG_NAME"
# Avoid exporting PKG_CONFIG_LIBDIR until after termux_step_host_build.
export TERMUX_PKG_CONFIG_LIBDIR=$TERMUX_PREFIX/lib/pkgconfig
export TERMUX_PKG_CONFIG_LIBDIR=$TERMUX_PREFIX/lib/pkgconfig:$TERMUX_PREFIX/share/pkgconfig
if [ "$TERMUX_PKG_BUILD_IN_SRC" = "true" ]; then
echo "Building in src due to TERMUX_PKG_BUILD_IN_SRC being set to true" > "$TERMUX_PKG_BUILDDIR/BUILDING_IN_SRC.txt"