From: Pierre d'Herbemont Date: Thu, 4 Mar 2010 12:29:22 +0000 (+0100) Subject: modules: Don't look in install directory on the Mac OS. X-Git-Tag: 1.1.0-pre1~528 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4c044d3d48552e4f5b2ea25c0cde9d803159c79e;p=vlc 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. --- diff --git a/src/modules/modules.c b/src/modules/modules.c index ccbd1575bf..c1de228bb8 100644 --- a/src/modules/modules.c +++ b/src/modules/modules.c @@ -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