Created
August 9, 2017 02:30
-
-
Save ccoupe/02f7b2508349fcb73152b5eaa7e3236e to your computer and use it in GitHub Desktop.
curl-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# execute it instead of ./configure | |
export dest="/home/ccoupe/Projects/shoesdeps/mingw" | |
export CC=i686-w64-mingw32-gcc | |
export CFLAGS="-I${dest}/include -I${dest}/lib/libffi-3.2.1/include" | |
export LDFLAGS="-L${dest}/lib" | |
./configure \ | |
--build=x86_64-linux-gnu \ | |
--host=i686-w64-mingw32 \ | |
--enable-silent-rules \ | |
--disable-ldap \ | |
--disable-telnet \ | |
--disable-tfp \ | |
--disable-pop3 \ | |
--disable-imap \ | |
--disable-smb \ | |
--disable-smtp \ | |
--disable-gopher \ | |
--disable-manual \ | |
--enable-pthreads \ | |
--disable-unix-sockets \ | |
--with-winssl \ | |
--prefix=${dest} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment