diff --git a/recipes/extrautils/recipe.sh b/recipes/extrautils/recipe.sh
index 7721ee544a8a158daea2b0ead79fd008e2d2ee2b..de7b40e11a745eeebc7b4ea857a92d9f5feb16e8 100644
--- a/recipes/extrautils/recipe.sh
+++ b/recipes/extrautils/recipe.sh
@@ -1 +1,6 @@
 GIT=https://github.com/redox-os/extrautils.git
+BUILD_DEPENDS=xz
+export PKG_CONFIG_ALLOW_CROSS=1
+export PKG_CONFIG_PATH=
+export PKG_CONFIG_LIBDIR="$PWD/sysroot/lib/pkgconfig"
+export PKG_CONFIG_SYSROOT_DIR="$PWD/sysroot"