Another attempt to fix our lib naming issues.
This commit is contained in:
@@ -274,7 +274,7 @@ MsgGetDir(MsgApiDirectory directory, char *buffer, size_t buffer_size)
|
||||
path = XPL_DEFAULT_DBF_DIR;
|
||||
break;
|
||||
case MSGAPI_DIR_LIB:
|
||||
path = LIBDIR;
|
||||
path = XPL_DEFAULT_LIB_DIR;
|
||||
break;
|
||||
case MSGAPI_DIR_MAIL:
|
||||
path = XPL_DEFAULT_MAIL_DIR;
|
||||
|
||||
@@ -27,7 +27,7 @@ MsgAuthLoadBackend(const char *name, const char *file)
|
||||
AuthPlugin_Init *init_func;
|
||||
MsgAuthAPIFunction *func;
|
||||
|
||||
snprintf(path, XPL_MAX_PATH, "%s/bongo-auth/%s", LIBDIR, file);
|
||||
snprintf(path, XPL_MAX_PATH, "%s/bongo-auth/%s", XPL_DEFAULT_LIB_DIR, file);
|
||||
auth = XplLoadDLL(path);
|
||||
if (! auth) {
|
||||
Log(LOG_FATAL, "Unable to load auth backend '%s'", file);
|
||||
|
||||
Reference in New Issue
Block a user