Ticket #13914: zlib-1.2.6.p0.diff

File zlib-1.2.6.p0.diff, 954 bytes (added by jpflori, 9 years ago)

Spkg diff, for review only.

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    2525
    2626 * None
    2727
     28=== zlib-1.2.6.p0 (Jean-Pierre Flori, 5 January 2013) ===
     29 * Trac #13914: Install shared objects on Cygwin.
     30
    2831=== zlib-1.2.6 (Jeroen Demeyer, Leif Leonhardy, 11 April 2012) ===
    2932 * Trac #12800: Upgrade to zlib-1.2.6
    3033 * Remove patches/Makefile.in.patch which is no longer needed
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    2727    export INCLUDE_PATH="$SAGE_LOCAL/include"
    2828    export LIBRARY_PATH="$SAGE_LOCAL/lib"
    2929    cp -f win32/Makefile.gcc Makefile
     30
    3031    if [ $? -ne 0 ]; then
    3132        echo >&2 "Error copying over zlib's Makefile for Cygwin."
    3233        exit 1
    3334    fi
     35
     36    # We want to install shared objects
     37    sed -i 's/SHARED_MODE=0/SHARED_MODE=1/' Makefile
    3438else
    3539    if [ "$SAGE64" = yes ]; then
    3640        ./configure --64 --shared --prefix="$SAGE_LOCAL" --includedir="$SAGE_LOCAL/include"