From 9c1e9b428752dc15b617c766b7e145ae44aa7ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20J=C3=BCnger?= Date: Fri, 22 Oct 2021 15:27:43 +0200 Subject: [PATCH] Check lib64/ for SystemC library: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Fedora the SystemC library is installed to lib64/ instead of lib/. This adds lib64/ to the candidates. Signed-off-by: Lukas Jünger --- scripts/verify.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/verify.pl b/scripts/verify.pl index 3a7c0b89b..8b398888e 100755 --- a/scripts/verify.pl +++ b/scripts/verify.pl @@ -812,11 +812,13 @@ sub add_to_ldpath push @candidates, "$dir$local$suffix" if ( -d "$dir$local$suffix" ); } else { - my $lib = "/lib"; - my $arch = "-$rt_systemc_arch"; + my $lib = "/lib"; + my $lib64 = "/lib64"; + my $arch = "-$rt_systemc_arch"; push @candidates, "$dir$lib$arch" if ( -d "$dir$lib$arch" ); push @candidates, "$dir$arch" if ( -d "$dir$arch" ); push @candidates, "$dir$lib" if ( -d "$dir$lib" ); + push @candidates, "$dir$lib64" if ( -d "$dir$lib64" ); } # use given (existing) directory directly