Changeset 3017 for box/trunk


Ignore:
Timestamp:
09/10/2011 23:16:54 (8 months ago)
Author:
chris
Message:

Search for libraries in the path where Cygwin installs MinGW zlib as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/mingw/configure.sh

    r3016 r3017  
    1717fi 
    1818 
    19 if [ ! -r "$DEP_PATH/sys-root/mingw/lib/libz.dll.a" ]; then 
     19LIBZ_PATH="${DEP_PATH}/sys-root/mingw/lib" 
     20 
     21if [ ! -r "$LIBZ_PATH/libz.dll.a" ]; then 
    2022        echo "Error: upgrade your Cygwin mingw-zlib-devel package" >&2 
    2123        exit 2 
     
    3335        CPPFLAGS="-mno-cygwin" \ 
    3436        CXXFLAGS="-mno-cygwin -mthreads" \ 
    35         LDFLAGS="-mno-cygwin -mthreads -L${DEP_PATH}/lib" \ 
     37        LDFLAGS="-mno-cygwin -mthreads -L${DEP_PATH}/lib -L${LIBZ_PATH}" \ 
    3638        LIBS="-lcrypto -lws2_32 -lgdi32" 
    3739then 
Note: See TracChangeset for help on using the changeset viewer.