Diff

Differences From Artifact [7da32bb1e0]:

To Artifact [13b1c7bf71]:


    16     16   SRCURL="http://sourceforge.net/projects/libpng/files/zlib/${ZLIBVERS}/zlib-${ZLIBVERS}.tar.gz/download"
    17     17   BUILDDIR="$(pwd)/build/zlib-${ZLIBVERS}"
    18     18   OUTDIR="$(pwd)/out"
    19     19   INSTDIR="$(pwd)/inst"
    20     20   export ZLIBVERS SRC SRCURL BUILDDIR OUTDIR INSTDIR
    21     21   
    22     22   # Set configure options for this sub-project
    23         -LDFLAGS="${KC_ZLIB_LDFLAGS}"
    24         -CFLAGS="${KC_ZLIB_CFLAGS}"
    25         -CPPFLAGS="${KC_ZLIB_CPPFLAGS}"
    26         -LIBS="${KC_ZLIB_LIBS}"
           23  +LDFLAGS="${LDFLAGS} ${KC_ZLIB_LDFLAGS}"
           24  +CFLAGS="${CFLAGS} ${KC_ZLIB_CFLAGS}"
           25  +CPPFLAGS="${CPPFLAGS} ${KC_ZLIB_CPPFLAGS}"
           26  +LIBS="${LIBS} ${KC_ZLIB_LIBS}"
    27     27   export LDFLAGS CFLAGS CPPFLAGS LIBS
    28     28   
    29     29   rm -rf 'build' 'out' 'inst'
    30     30   mkdir 'build' 'out' 'inst' || exit 1
    31     31   
    32     32   if [ ! -f "${SRC}" ]; then
    33     33   	mkdir 'src' >/dev/null 2>/dev/null