Check-in [b62450459c]
Overview
SHA1:b62450459c417c580c2b3eb490d9692d738c55e0
Date: 2014-04-28 20:36:29
User: rkeene
Comment:Fixes for zlib on other platforms
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-04-28
20:36
[c8641be07e] Added TclTCC (user: rkeene, tags: trunk)
20:36
[b62450459c] Fixes for zlib on other platforms (user: rkeene, tags: trunk)
2014-04-27
04:13
[1a5bbc4282] Work towards upgrading zlib -- untested on most platforms (user: rkeene, tags: trunk)
Changes

Modified zlib/build.sh from [07595632d1] to [7da32bb1e0].

54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
	if [ "${KITTARGET}" = "kitdll" ]; then
		CFLAGS="${CFLAGS} -fPIC"
		export CFLAGS
	fi

	# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
	# script and will puke
	echo "Running: ./configure --prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\""
	./configure --prefix="${INSTDIR}" --libdir="${INSTDIR}/lib"

	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







|
|












54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
	if [ "${KITTARGET}" = "kitdll" ]; then
		CFLAGS="${CFLAGS} -fPIC"
		export CFLAGS
	fi

	# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
	# script and will puke
	echo "Running: ./configure --prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --static"
	./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