Overview
Comment: | Allow zlib 1.2.8 to build and integrate properly on Windows using MinGW. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | winZlib128 |
Files: | files | file ages | folders |
SHA1: | 56d1fd1c504fef053c70a00cb7c49a32f2ac5025 |
User & Date: | mistachkin on 2015-03-26 04:39:56 |
Other Links: | manifest | tags |
Context
2015-03-30
| ||
23:54 | Allow zlib 1.2.8 to build and integrate properly on Windows using MinGW. check-in: 9ad5a7514f user: mistachkin tags: trunk | |
2015-03-26
| ||
19:05 | Combine current Windows fixes for testing purposes. check-in: d263c81271 user: mistachkin tags: winAll | |
04:39 | Allow zlib 1.2.8 to build and integrate properly on Windows using MinGW. Closed-Leaf check-in: 56d1fd1c50 user: mistachkin tags: winZlib128 | |
2015-03-16
| ||
01:07 | Updated default target to be 8.6.4 check-in: 4f42c11e1e user: rkeene tags: trunk | |
Changes
Modified zlib/build.sh from [13b1c7bf71] to [e9c0794475].
46
47
48
49
50
51
52
53
54
55
56
57
58
59
..
62
63
64
65
66
67
68
69
70
71
72
73
74
|
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
cd "${BUILDDIR}" || exit 1
# If we are building for KitDLL, compile with '-fPIC'
if [ "${KITTARGET}" = "kitdll" ]; then
CFLAGS="${CFLAGS} -fPIC"
export CFLAGS
fi
# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
................................................................................
./configure --prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --static
echo "Running: ${MAKE:-make}"
${MAKE:-make} || exit 1
echo "Running: ${MAKE:-make} install"
${MAKE:-make} install
# We don't really care too much about failure in zlib
exit 0
) || exit 1
exit 0
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
..
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
gzip -dc "../${SRC}" | tar -xf - else cp -rp ../buildsrc/* './' fi cd "${BUILDDIR}" || exit 1 case $(uname -s 2> /dev/null) in MINGW* | mingw*) # use win32/Makefile.gcc instead. echo "Running: cp win32/Makefile.gcc Makefile" cp win32/Makefile.gcc Makefile echo "Running: ${MAKE:-make}" ${MAKE:-make} || exit 1 echo "Running: BINARY_PATH=${INSTDIR}/bin INCLUDE_PATH=${INSTDIR}/include LIBRARY_PATH=${INSTDIR}/lib ${MAKE:-make} install" BINARY_PATH=${INSTDIR}/bin INCLUDE_PATH=${INSTDIR}/include LIBRARY_PATH=${INSTDIR}/lib ${MAKE:-make} install ;; *) # If we are building for KitDLL, compile with '-fPIC' if [ "${KITTARGET}" = "kitdll" ]; then CFLAGS="${CFLAGS} -fPIC" export CFLAGS fi # We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf ................................................................................ ./configure --prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --static echo "Running: ${MAKE:-make}" ${MAKE:-make} || exit 1 echo "Running: ${MAKE:-make} install" ${MAKE:-make} install ;; esac # We don't really care too much about failure in zlib exit 0 ) || exit 1 exit 0 |