diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-02 20:16:29 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-02 20:16:29 +0300 |
commit | 625fc25efbfb17720c1f9981a55fced9d23c15d8 (patch) | |
tree | 07e1374f14ccf1c0d3cfa1b750ec5248ecbf6f01 /makeself | |
parent | a7ec7a43a51eed9c3e137a89b36f206331c21e69 (diff) |
statically linked curl added
Diffstat (limited to 'makeself')
-rwxr-xr-x | makeself/jobs/50-curl-7.53.1.install.sh | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/makeself/jobs/50-curl-7.53.1.install.sh b/makeself/jobs/50-curl-7.53.1.install.sh index 3439ee5c65..6ef5184430 100755 --- a/makeself/jobs/50-curl-7.53.1.install.sh +++ b/makeself/jobs/50-curl-7.53.1.install.sh @@ -1,15 +1,11 @@ #!/usr/bin/env bash -exit 0 - . $(dirname "${0}")/../functions.sh "${@}" || exit 1 fetch "curl-curl-7_53_1" "https://github.com/curl/curl/archive/curl-7_53_1.tar.gz" -export CFLAGS="-static -DCURL_STATICLIB" export LDFLAGS="-static" export PKG_CONFIG="pkg-config --static" -export curl_LDFLAGS="-all-static" run ./buildconf @@ -22,24 +18,11 @@ run ./configure \ --enable-proxy \ --enable-ipv6 \ --enable-cookies \ - --disable-ldap \ - --disable-sspi \ - --without-librtmp \ - --disable-ftp \ - --disable-file \ - --disable-dict \ - --disable-telnet \ - --disable-tftp \ - --disable-rtsp \ - --disable-pop3 \ - --disable-imap \ - --disable-smtp \ - --disable-gopher \ - --disable-smb \ - --disable-ares \ - --without-libidn \ ${NULL} +# Curl autoconf does not honour the curl_LDFLAGS environment variable +run sed -i -e "s/curl_LDFLAGS =/curl_LDFLAGS = -all-static/" src/Makefile + run make clean run make -j${PROCESSORS} run make install |