[vlc-commits] taglib: fix windows static build
Rafaël Carré
git at videolan.org
Sun Dec 16 11:09:18 CET 2012
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 30 11:21:02 2012 +0100| [304b08cc5f99e4e5f40257679a847d33ad99d0c9] | committer: Rafaël Carré
taglib: fix windows static build
(cherry picked from commit 2b004056c340aba439ea497449b823629d906264)
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=304b08cc5f99e4e5f40257679a847d33ad99d0c9
---
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 e3b3c4e..158ef30 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -42,6 +42,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