]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.c
modules: Don't look in install directory on the Mac OS.
[vlc] / src / modules / modules.c
index ccbd1575bfdc693d665d98def9ad6f4ac0911d0f..c1de228bb828289660bad0d78a50ef442892470f 100644 (file)
@@ -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 )
         vlc_array_append( arraypaths, path );
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__APPLE__)
     vlc_array_append( arraypaths, strdup( PLUGIN_PATH ) );
 #endif