diff --git a/tools/pkgconf/files/pkg-config b/tools/pkgconf/files/pkg-config index 65e0fb09f54..2e4dac9073d 100755 --- a/tools/pkgconf/files/pkg-config +++ b/tools/pkgconf/files/pkg-config @@ -4,6 +4,8 @@ ${STAGING_DIR_HOST}/bin/pkg-config.real \ --keep-system-cflags \ --keep-system-libs \ --define-variable=prefix="${STAGING_PREFIX}" \ +--define-variable=prefix_host="${STAGING_DIR_HOST}" \ +--define-variable=prefix_hostpkg="${STAGING_DIR_HOSTPKG}" \ --define-variable=exec_prefix="${STAGING_PREFIX}" \ --define-variable=bindir="${STAGING_PREFIX}/bin" \ $PKG_CONFIG_EXTRAARGS "$@"