From b3a7516ba247751831dedbee871f3330c810fae4 Mon Sep 17 00:00:00 2001 From: Joe Eli McIlvain Date: Tue, 12 Apr 2022 07:18:02 -0700 Subject: [PATCH] Fix linker path detection for 64bit Arch Linux. The path used on Arch Linux is apparently `/usr/lib/gcc/x86_64-pc-linux-gnu/*`. --- src/savi/compiler/binary.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/savi/compiler/binary.cr b/src/savi/compiler/binary.cr index 91430dfb..05ac0baf 100644 --- a/src/savi/compiler/binary.cr +++ b/src/savi/compiler/binary.cr @@ -213,6 +213,7 @@ class Savi::Compiler::Binary yield "/lib/gcc/x86_64-linux-gnu/*" yield "/lib/x86_64-linux-gnu" yield "/usr/lib/gcc/x86_64-linux-gnu/*" + yield "/usr/lib/gcc/x86_64-pc-linux-gnu/*" yield "/usr/lib/x86_64-linux-gnu" yield "/usr/lib/gcc/x86_64-redhat-linux/*" else