]> git.sesse.net Git - vlc/commitdiff
modules: Don't look in install directory on the Mac OS.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 4 Mar 2010 12:29:22 +0000 (13:29 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 4 Mar 2010 17:14:07 +0000 (18:14 +0100)
This could be mitigated one day by using a configure flag for command line builder.

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