Commit 4c044d3d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

modules: Don't look in install directory on the Mac OS.

This could be mitigated one day by using a configure flag for command line builder.
parent c8de8650
...@@ -823,7 +823,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this, module_bank_t *p_bank ) ...@@ -823,7 +823,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this, module_bank_t *p_bank )
if( vlcpath && asprintf( &path, "%s" DIR_SEP "plugins", vlcpath ) != -1 ) if( vlcpath && asprintf( &path, "%s" DIR_SEP "plugins", vlcpath ) != -1 )
vlc_array_append( arraypaths, path ); vlc_array_append( arraypaths, path );
#ifndef WIN32 #if !defined(WIN32) && !defined(__APPLE__)
vlc_array_append( arraypaths, strdup( PLUGIN_PATH ) ); vlc_array_append( arraypaths, strdup( PLUGIN_PATH ) );
#endif #endif
......
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