Skip to content

Commit

Permalink
Check lib64/ for SystemC library:
Browse files Browse the repository at this point in the history
On Fedora the SystemC library is installed to lib64/
instead of lib/. This adds lib64/ to the candidates.

Signed-off-by: Lukas Jünger <[email protected]>
  • Loading branch information
Lukas Jünger committed Oct 22, 2021
1 parent 334430a commit 9c1e9b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/verify.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c1e9b4

Please sign in to comment.