[vlc-commits] taglib: fix windows static build

Rafaël Carré git at videolan.org
Tue Oct 30 11:21:15 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 30 11:21:02 2012 +0100| [2b004056c340aba439ea497449b823629d906264] | committer: Rafaël Carré

taglib: fix windows static build

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

 modules/meta_engine/taglib.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index 1a0b0a8..ca16511 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -47,6 +47,9 @@
 
 
 // Taglib headers
+#ifdef WIN32
+# define TAGLIB_STATIC
+#endif
 #include <taglib.h>
 #define VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c))
 #define TAGLIB_VERSION VERSION_INT(TAGLIB_MAJOR_VERSION, \



More information about the vlc-commits mailing list