]> sigrok.org Git - sigrok-util.git/blame - cross-compile/mingw/mxe_fixes.patch
sigrok-native-appimage: Add Python 3 files.
[sigrok-util.git] / cross-compile / mingw / mxe_fixes.patch
CommitLineData
b9d1ce76
UH
1These patches are currently required to get a properly working
2MXE setup for sigrok usage.
3
4 - Force libzip to use its own mkstemp() implementation.
5 http://sigrok.org/bugzilla/show_bug.cgi?id=570#c2
6
b9d1ce76 7diff --git a/src/libzip.mk b/src/libzip.mk
4acee7ed 8index 9d1e189..d4d5bf9 100644
b9d1ce76
UH
9--- a/src/libzip.mk
10+++ b/src/libzip.mk
11@@ -18,7 +18,8 @@ endef
12
13 define $(PKG)_BUILD
14 cd '$(1)' && ./configure \
15- $(MXE_CONFIGURE_OPTS)
16+ $(MXE_CONFIGURE_OPTS) \
4acee7ed 17+ ac_cv_func_mkstemp=no
b9d1ce76
UH
18 $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_CRUFT) SUBDIRS=lib
19
20 '$(TARGET)-gcc' \