Changeset 3014 for box/trunk


Ignore:
Timestamp:
09/10/2011 11:52:04 (8 months ago)
Author:
chris
Message:

Pass the correct LDFLAGS to Box Backup, to use mingw zlib instead of cygwin,
copied from new Boxi config. Thanks to Achim for finding this and testing
the fix.

File:
1 edited

Legend:

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

    r2832 r3014  
    1717fi 
    1818 
    19 export CC="gcc -mno-cygwin" 
    20 export CXX="g++ -mno-cygwin" 
    21 export LD="g++ -mno-cygwin" 
    22 export CFLAGS="-mno-cygwin -mthreads" 
    23 export CXXFLAGS="-mno-cygwin -mthreads" 
    24 export LDFLAGS="-mno-cygwin -mthreads" 
    25 export LIBS="-lcrypto -lws2_32 -lgdi32" 
    26  
    2719if [ ! -x "configure" ]; then 
    2820        if ! ./bootstrap; then 
     
    3224fi 
    3325 
    34 if ! ./configure --target=i686-pc-mingw32 "$@"; then 
     26if ! ./configure "$@" --target=i686-pc-mingw32 \ 
     27        CFLAGS="-mno-cygwin -mthreads" \ 
     28        CPPFLAGS="-mno-cygwin" \ 
     29        CXXFLAGS="-mno-cygwin -mthreads" \ 
     30        LDFLAGS="-mno-cygwin -mthreads -L${DEP_PATH}/lib" \ 
     31        LIBS="-lcrypto -lws2_32 -lgdi32" 
     32then 
    3533        echo "Error: configure failed, aborting." >&2 
    3634        exit 1 
Note: See TracChangeset for help on using the changeset viewer.