[vlc-devel] [PATCH] contribs: flac: Provide NO_DLL flag when building on windows

Steve Lhomme robux4 at videolabs.io
Sat Jan 30 09:26:46 CET 2016


From: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

---
 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
-- 
2.6.0.windows.1



More information about the vlc-devel mailing list