From 1a43012e5c82b3ac165dcdb03dd5932a59c71830 Mon Sep 17 00:00:00 2001
From: Jonathan Maw <jonathan.maw@codethink.co.uk>
Date: Tue, 12 Sep 2017 14:31:48 +0100
Subject: gnu-toolchain: Fix armv8l64 looking in the wrong place for libraries

---
 elements/gnu-toolchain/stage2-glibc.bst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'elements/gnu-toolchain/stage2-glibc.bst')

diff --git a/elements/gnu-toolchain/stage2-glibc.bst b/elements/gnu-toolchain/stage2-glibc.bst
index 5f31e2f5..e3f13c35 100644
--- a/elements/gnu-toolchain/stage2-glibc.bst
+++ b/elements/gnu-toolchain/stage2-glibc.bst
@@ -120,10 +120,10 @@ config:
       ln -s "%{prefix}/lib/ld-linux-x86-64.so.2" \
             "%{install-root}/usr/lib64/ld-linux-x86-64.so.2" ;;
     armv8*64)
-      install -d "%{install-root}/usr/lib64"
+      install -d "%{install-root}/usr/lib"
       ln -s "/usr/lib64" "%{install-root}/lib64"
       ln -s "%{prefix}/lib/ld-linux-aarch64.so.1" \
-            "%{install-root}/usr/lib64/ld-linux-aarch64.so.1" ;;
+            "%{install-root}/usr/lib/ld-linux-aarch64.so.1" ;;
     ppc64l)
       install -d "%{install-root}/usr/lib64"
       ln -s "/usr/lib64" "%{install-root}/lib64"
-- 
cgit v1.2.1

