[vlc-commits] flac: Force static linking

Hugo Beauzée-Luyssen git at videolan.org
Fri Nov 21 18:20:45 CET 2014


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Nov 21 18:08:46 2014 +0100| [7054ccad1cf1d9fbf4c14c3f5ba55749f4d30a22] | committer: Hugo Beauzée-Luyssen

flac: Force static linking

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

 modules/codec/flac.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 32ae7fb..eaf8175 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -37,6 +37,10 @@
 #include <vlc_plugin.h>
 #include <vlc_codec.h>
 
+#ifdef _WIN32
+# define FLAC__NO_DLL
+#endif
+
 #include <FLAC/stream_decoder.h>
 #include <FLAC/stream_encoder.h>
 



More information about the vlc-commits mailing list