Commit c7cef4fd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not load plugins from relative paths on non-relocatable platforms.

This fixes #1578 for -bugfix. This breaks plugins from the source tree
(so we obviously need some more involved fix for master).
parent 5f0ae0d8
......@@ -752,8 +752,10 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
/* Yes, there are two NULLs because we replace one with "plugin-path". */
#if defined( WIN32 ) || defined( UNDER_CE )
char *path[] = { "modules", "", "plugins", 0, 0 };
#else
#elif defined( SYS_BEOS ) || defined( __APPLE__ )
char *path[] = { "modules", PLUGIN_PATH, "plugins", 0, 0 };
#else
char *path[] = { PLUGIN_PATH, NULL, NULL };
#endif
char **ppsz_path = path;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment