diff --git a/recipes/rust/llvm-config b/recipes/rust/llvm-config
index f2027dec928c4e27f06b6ba2630dcfc89714b52d..0ac59cda392b9f59d5a8f7aaa7a14e32508e589b 100755
--- a/recipes/rust/llvm-config
+++ b/recipes/rust/llvm-config
@@ -4,7 +4,7 @@ import sys
 import os
 
 args = sys.argv[1:]
-prefix = os.path.realpath(os.path.dirname(os.path.abspath(sys.argv[0])) + "/../llvm-root")
+prefix = os.path.realpath(os.path.dirname(os.path.abspath(sys.argv[0])) + "/llvm-root")
 
 # The values here are copied from the output of llvm-config running under Redox.
 # This is a hack, and should be replaced if possible.
diff --git a/recipes/rust/recipe.sh b/recipes/rust/recipe.sh
index 39a24fa05d6095238b35c13b03e3f4800f457969..62b0b5b86dcae63abed234cd7d7824a5e6d3153f 100644
--- a/recipes/rust/recipe.sh
+++ b/recipes/rust/recipe.sh
@@ -4,7 +4,7 @@ BRANCH=compile-redox
 ARCH=x86_64
 HOST=x86_64-elf-redox
 RUST_HOST=x86_64-unknown-redox
-LLVM_PREFIX=$PWD/llvm-root
+LLVM_PREFIX=$PWD/build/llvm-root
 SYSROOT=/usr/x86_64-elf-redox
 unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP