From 8de4e0f20e9b93cc3daf129f6b8153cf760c0a07 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Fri, 10 Nov 2017 12:16:13 -0700
Subject: [PATCH] Fix llvm-config path

---
 recipes/rust/llvm-config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
-- 
GitLab