[vlc-commits] Contribs: flac: Provide NO_DLL flag when building on windows

Hugo Beauzée-Luyssen git at videolan.org
Fri Feb 5 19:39:40 CET 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Jan 30 09:26:46 2016 +0100| [9e03d0fb9c4b37131250582a3e3032958d523da9] | committer: Jean-Baptiste Kempf

Contribs: flac: Provide NO_DLL flag when building on windows

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 contrib/src/flac/rules.mak |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/flac/rules.mak b/contrib/src/flac/rules.mak
index 53cf8e0..85b1080 100644
--- a/contrib/src/flac/rules.mak
+++ b/contrib/src/flac/rules.mak
@@ -47,6 +47,10 @@ ifdef HAVE_WIN32
 FLAC_CFLAGS += -mstackrealign
 endif
 
+ifdef HAVE_WIN32
+	FLAC_CFLAGS="-DFLAC__NO_DLL"
+endif
+
 DEPS_flac = ogg $(DEPS_ogg)
 
 .flac: flac



More information about the vlc-commits mailing list