build: pass PKG_CONFIG_LIBDIR to make for cross-compile pkg-config checks
This commit is contained in:
@ -198,13 +198,17 @@ exec env \
|
||||
PKGCFG_EOF
|
||||
chmod +x "$PKGCFG_WRAPPER"
|
||||
|
||||
# Ensure PKG_CONFIG_PATH is not set in our environment (avoid the OF Makefile bug)
|
||||
# Ensure PKG_CONFIG_PATH is not set in our environment (avoid the OF Makefile
|
||||
# "export $(PKG_CONFIG_PATH)" bug which treats its value as a variable name).
|
||||
unset PKG_CONFIG_PATH
|
||||
unset PKG_CONFIG_LIBDIR
|
||||
|
||||
ARM64_PKG_CONFIG_PATH="/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig"
|
||||
|
||||
make clean 2>/dev/null || true
|
||||
make -j1 \
|
||||
PKG_CONFIG="$PKGCFG_WRAPPER" \
|
||||
PKG_CONFIG_LIBDIR="$ARM64_PKG_CONFIG_PATH" \
|
||||
GST_VERSION=1.0 \
|
||||
PLATFORM_ARCH=aarch64 \
|
||||
CROSS_COMPILING=1 \
|
||||
|
||||
Reference in New Issue
Block a user