Check-in [9bd201f713]
Overview
Comment:Updated to compile zlib as PIC when building KitDLL
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9bd201f713563bc0da759f4b364f7fa137a007f9
User & Date: rkeene on 2010-10-02 09:11:17
Other Links: manifest | tags
Context
2010-10-02
09:30
Updated to statically link to libz if possible check-in: 13e2385169 user: rkeene tags: trunk
09:11
Updated to compile zlib as PIC when building KitDLL check-in: 9bd201f713 user: rkeene tags: trunk
08:58
Updated to set runtime linker path on drivers to "." rather than pwd

Updated setting runtime linker path to use more compatible option check-in: c77d16728b user: rkeene tags: trunk

Changes

Modified zlib/build.sh from [2bc46025a6] to [8a0aea4553].

    39     39   		cp -rp ../buildsrc/* './'
    40     40   	fi
    41     41   
    42     42   	cd "${BUILDDIR}" || exit 1
    43     43   	# ZLIB Expects AR to contain options
    44     44   	AR="${AR:-ar} rcu"
    45     45   	export AR
           46  +
           47  +	# If we are building for KitDLL, compile with '-fPIC'
           48  +	if [ "${KITTARGET}" = "kitdll" ]; then
           49  +		CFLAGS="${CFLAGS} -fPIC"
           50  +		export CFLAGS
           51  +	fi
    46     52   
    47     53   	# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
    48     54   	# script and will puke
    49     55   	echo "Running: ./configure --prefix=\"${INSTDIR}\""
    50     56   	./configure --prefix="${INSTDIR}"
    51     57   
    52     58   	echo "Running: ${MAKE:-make} AR=\"${AR}\""