Append `share/pkgconfig` to PKG_CONFIG_LIBDIR
This commit is contained in:
parent
79f3818686
commit
3f1be51372
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue