From 4c044d3d48552e4f5b2ea25c0cde9d803159c79e Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Thu, 4 Mar 2010 13:29:22 +0100 Subject: [PATCH] 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. --- src/modules/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2