[vlc-commits] commit: modules: Don't look in install directory on the Mac OS. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Mar 4 18:14:34 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Mar  4 13:29:22 2010 +0100| [4c044d3d48552e4f5b2ea25c0cde9d803159c79e] | committer: 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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c044d3d48552e4f5b2ea25c0cde9d803159c79e
---

 src/modules/modules.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/modules.c b/src/modules/modules.c
index ccbd157..c1de228 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
 



More information about the vlc-commits mailing list