Check lib64 before lib when linking

Depending on the linux distro, lib will contain 32bit libraries.
We want the 64bit version of libraries if they exist.
This commit is contained in:
Brendan Hansknecht 2023-10-29 21:43:15 -07:00
parent 5fed22405b
commit e099dd8b1c
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -891,8 +891,8 @@ fn link_linux(
lib_dirs.extend([
usr_lib_arch_path,
lib_arch_path,
strs_to_path(&["/usr", "lib"]),
strs_to_path(&["/usr", "lib64"]),
strs_to_path(&["/usr", "lib"]),
]);
// Look for the libraries we'll need