[vlc-devel] [RFC PATCH 2/7] contrib: Allow breakpad to be built on windows

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Dec 20 11:34:36 CET 2017


---
 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 73c6836e57..38690f49f7 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 $@
-- 
2.11.0



More information about the vlc-devel mailing list