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

Hugo Beauzée-Luyssen git at videolan.org
Sat Dec 23 21:47:43 CET 2017


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

contrib: Allow breakpad to be built on windows

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

 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