Made secaudit to load the library based on its generic name
When compiled autonomously without the automatically generated dynamic link stubs, use a generic library name instead of a version dependent one. (obsolete compile mode rarely used).pull/2/head
parent
9c2657b4ae
commit
267357899f
|
@ -218,6 +218,9 @@
|
|||
*
|
||||
* Mar 2015, version 1.4.5
|
||||
* - adapted to new NTFS ACLs when owner is same as group
|
||||
*
|
||||
* May 2015, version 1.4.6
|
||||
* - made to load shared library based on generic name
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -241,7 +244,7 @@
|
|||
* General parameters which may have to be adapted to needs
|
||||
*/
|
||||
|
||||
#define AUDT_VERSION "1.4.5"
|
||||
#define AUDT_VERSION "1.4.6"
|
||||
|
||||
#define GET_FILE_SECURITY "ntfs_get_file_security"
|
||||
#define SET_FILE_SECURITY "ntfs_set_file_security"
|
||||
|
|
|
@ -56,8 +56,13 @@
|
|||
#else
|
||||
#define USESTUBS 0 /* direct calls to API, based on following definitions */
|
||||
#define ENVNTFS3G "NTFS3G"
|
||||
#define LIBFILE64 "/lib64/libntfs-3g.so.4921"
|
||||
#define LIBFILE "/lib/libntfs-3g.so.4921"
|
||||
#if defined(__SVR4)
|
||||
#define LIBFILE64 "/usr/lib/amd64/libntfs-3g.so"
|
||||
#define LIBFILE "/usr/lib/libntfs-3g.so"
|
||||
#else
|
||||
#define LIBFILE64 "/lib64/libntfs-3g.so"
|
||||
#define LIBFILE "/lib/libntfs-3g.so"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define MAPDIR ".NTFS-3G"
|
||||
|
|
Loading…
Reference in New Issue