external/zlib-1.2.11/make-cross-x64.sh
author Sam Lantinga <slouken@libsdl.org>
Fri, 26 Oct 2018 14:58:01 -0700
changeset 617 d64228a395fc
parent 522 cdbdf5652e8e
permissions -rw-r--r--
Fixed webp library detection when cross-compiling for Windows
     1 #!/bin/sh
     2 
     3 TARGET=x86_64-w64-mingw32
     4 INSTALL_PATH=/usr/local/$TARGET
     5 export PATH=$PATH:/usr/local/bin
     6 
     7 make -f win32/Makefile.gcc \
     8     SHARED_MODE=1 \
     9     LDFLAGS=-static-libgcc \
    10     PREFIX=$TARGET- \
    11     prefix=$INSTALL_PATH \
    12     BINARY_PATH=$INSTALL_PATH/bin \
    13     INCLUDE_PATH=$INSTALL_PATH/include \
    14     LIBRARY_PATH=$INSTALL_PATH/lib $*