Add lib64 to plugin search paths on unix

This commit is contained in:
David Auer 2025-01-05 15:41:35 +01:00
parent a3a53cc73a
commit d4d04ffa63

View file

@ -37,8 +37,8 @@
/* definitions for system directories to search when looking for mupen64plus plugins */
#if defined(PLUGINDIR)
const int osal_libsearchdirs = 4;
const char *osal_libsearchpath[4] = { PLUGINDIR, "/usr/local/lib/mupen64plus", "/usr/lib/mupen64plus", "./" };
const int osal_libsearchdirs = 5;
const char *osal_libsearchpath[5] = { PLUGINDIR, "/usr/local/lib/mupen64plus", "/usr/lib/mupen64plus", "/usr/lib64/mupen64plus/", "./" };
#else
const int osal_libsearchdirs = 3;
const char *osal_libsearchpath[3] = { "/usr/local/lib/mupen64plus", "/usr/lib/mupen64plus", "./" };