Skip to content

Latest commit

 

History

History
36 lines (36 loc) · 1.2 KB

zlib-1.2.8.patch

File metadata and controls

36 lines (36 loc) · 1.2 KB
 
Nov 10, 2019
Nov 10, 2019
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -ruN zlib-1.2.8/make-cross-x64.sh zlib-1.2.8.new/make-cross-x64.sh
--- zlib-1.2.8/make-cross-x64.sh 1969-12-31 16:00:00.000000000 -0800
+++ zlib-1.2.8.new/make-cross-x64.sh 2013-05-26 21:52:33.000000000 -0700
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGET=x86_64-w64-mingw32
+INSTALL_PATH=/usr/local/cross-tools/$TARGET
+export PATH=$PATH:/usr/local/cross-tools/bin
+
+make -f win32/Makefile.gcc \
+ SHARED_MODE=1 \
+ LDFLAGS=-static-libgcc \
+ PREFIX=$TARGET- \
+ prefix=$INSTALL_PATH \
+ BINARY_PATH=$INSTALL_PATH/bin \
+ INCLUDE_PATH=$INSTALL_PATH/include \
+ LIBRARY_PATH=$INSTALL_PATH/lib $*
diff -ruN zlib-1.2.8/make-cross-x86.sh zlib-1.2.8.new/make-cross-x86.sh
--- zlib-1.2.8/make-cross-x86.sh 1969-12-31 16:00:00.000000000 -0800
+++ zlib-1.2.8.new/make-cross-x86.sh 2013-05-26 21:49:38.000000000 -0700
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+TARGET=i686-w64-mingw32
+INSTALL_PATH=/usr/local/cross-tools/$TARGET
+export PATH=$PATH:/usr/local/cross-tools/bin
+
+make -f win32/Makefile.gcc \
+ SHARED_MODE=1 \
+ LDFLAGS=-static-libgcc \
+ PREFIX=$TARGET- \
+ prefix=$INSTALL_PATH \
+ BINARY_PATH=$INSTALL_PATH/bin \
+ INCLUDE_PATH=$INSTALL_PATH/include \
+ LIBRARY_PATH=$INSTALL_PATH/lib $*