]> sigrok.org Git - sigrok-util.git/blob - cross-compile/mingw/mxe_fixes.patch
mingw/msys2: Make build directory names reflect debug/release and 32/64
[sigrok-util.git] / cross-compile / mingw / mxe_fixes.patch
1 These patches are currently required to get a properly working
2 MXE 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
7 diff --git a/src/libzip.mk b/src/libzip.mk
8 index 9d1e189..d4d5bf9 100644
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) \
17 +        ac_cv_func_mkstemp=no
18      $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_CRUFT) SUBDIRS=lib
19  
20      '$(TARGET)-gcc' \