Fix Jerasurecode .so name

Some distributions (such as Ubuntu, and presumably Debian) provide only
libJerasure.so.2.0.0 and libJerasure.so.2 (as a symlink to the specific
version), with no libJerasure.so symlink. On those, some tests would
previously erroneously skip with

   Could not open Jerasure backend.  Install Jerasure or fix
   LD_LIBRARY_PATH.  Passing.

Change-Id: I778543e7c4cfb37d1baf1ee9a1823a809a343343
This commit is contained in:
Tim Burke
2024-09-13 13:03:20 -07:00
parent bd3f46d87c
commit 412e2903a4

View File

@@ -37,7 +37,7 @@ struct jerasure_mult_routines {
#if defined(__MACOS__) || defined(__MACOSX__) || defined(__OSX__) || defined(__APPLE__)
#define JERASURE_SONAME "libJerasure.dylib"
#else
#define JERASURE_SONAME "libJerasure.so"
#define JERASURE_SONAME "libJerasure.so.2"
#endif
typedef struct alg_sig_s