Skip to content

Latest commit

 

History

History
executable file
·
14 lines (12 loc) · 367 Bytes

make-cross-x86.sh

File metadata and controls

executable file
·
14 lines (12 loc) · 367 Bytes
 
Nov 10, 2019
Nov 10, 2019
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
TARGET=i686-w64-mingw32
INSTALL_PATH=/usr/local/cross-tools/$TARGET
export PATH=$PATH:/usr/local/cross-tools/bin
make -f win32/Makefile.gcc \
SHARED_MODE=1 \
LDFLAGS=-static-libgcc \
PREFIX=$TARGET- \
prefix=$INSTALL_PATH \
BINARY_PATH=$INSTALL_PATH/bin \
INCLUDE_PATH=$INSTALL_PATH/include \
LIBRARY_PATH=$INSTALL_PATH/lib $*