[vlc-commits] contrib: Allow breakpad to be built on windows

Hugo Beauzée-Luyssen git at videolan.org
Sat Dec 23 23:15:07 CET 2017


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 21 18:29:52 2017 +0100| [d018988f864f07f9dced0bb1dc63cef572e564a4] | committer: Hugo Beauzée-Luyssen

contrib: Allow breakpad to be built on windows

(cherry picked from commit d1f958ee63010eb82be643eb0b0edad839bc462a)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 contrib/src/breakpad/rules.mak | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/contrib/src/breakpad/rules.mak b/contrib/src/breakpad/rules.mak
index c6be864da0..b1797846e5 100644
--- a/contrib/src/breakpad/rules.mak
+++ b/contrib/src/breakpad/rules.mak
@@ -19,6 +19,7 @@ breakpad: breakpad-$(BREAKPAD_VERSION).tar.gz .sum-breakpad
 
 .breakpad: breakpad
 	# Framework
+ifdef HAVE_MACOSX
 	cd $</src/client/mac/ && xcodebuild $(XCODE_FLAGS) CLANG_CXX_LIBRARY=libc++ WARNING_CFLAGS=-Wno-error
 	cd $</src/client/mac/ && \
 		mkdir -p "$(PREFIX)/Frameworks" && \
@@ -28,4 +29,9 @@ breakpad: breakpad-$(BREAKPAD_VERSION).tar.gz .sum-breakpad
 	cd $</src/tools/mac/dump_syms && \
 		xcodebuild $(XCODE_FLAGS) CLANG_CXX_LIBRARY=libc++ WARNING_CFLAGS=-Wno-error && \
 		cp -R build/Release/dump_syms "$(PREFIX)/bin"
+else
+	$(RECONF)
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-processor
+	cd $< && Configuration=Release $(MAKE) install
+endif
 	touch $@



More information about the vlc-commits mailing list