[vlc-commits] src: fixed build when compiling for Apple platforms with dynamic plugins

Felix Paul Kühne git at videolan.org
Fri Mar 23 02:39:03 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Mar 23 02:30:47 2012 +0100| [c01855ebfb251f4a52560c9f8cb0639d47d7147d] | committer: Felix Paul Kühne

src: fixed build when compiling for Apple platforms with dynamic plugins

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

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

diff --git a/src/modules/bank.c b/src/modules/bank.c
index 43e6e67..0328ea9 100644
--- a/src/modules/bank.c
+++ b/src/modules/bank.c
@@ -69,7 +69,7 @@ static void module_StoreBank (module_t *module)
     modules.head = module;
 }
 
-#if defined(__ELF__) || defined(__APPLE__)
+#if defined(__ELF__) || (defined(__APPLE__) && !HAVE_DYNAMIC_PLUGINS)
 # ifdef __GNUC__
 __attribute__((weak))
 # else



More information about the vlc-commits mailing list