Diff

Differences From Artifact [63363c4e1f]:

To Artifact [2953ae8c82]:


    14     14   ZLIBVERS="1.2.3"
    15     15   SRC="src/zlib-${ZLIBVERS}.tar.gz"
    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  +
           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}"
           27  +export LDFLAGS CFLAGS CPPFLAGS LIBS
    21     28   
    22     29   rm -rf 'build' 'out' 'inst'
    23     30   mkdir 'build' 'out' 'inst' || exit 1
    24     31   
    25     32   if [ ! -f "${SRC}" ]; then
    26     33   	mkdir 'src' >/dev/null 2>/dev/null
    27     34