diff --git a/recipes/rust/llvm-config b/recipes/rust/llvm-config index cccfac422..be16d9b30 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.dirname(os.path.abspath(sys.argv[0]))) + "/llvm-prefix") +prefix = os.path.realpath(os.path.dirname(os.path.abspath(sys.argv[0])) + "/llvm-prefix") # The values here are copied from the output of llvm-config running under Redox. # This is a hack, and should be replaced if possible.