mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-22 02:14:41 -07:00
git: statically linked with https
This commit is contained in:
parent
684788ac37
commit
ef453d8ba2
@ -1,6 +1,9 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
export CFLAGS="$CFLAGS -fPIC"
|
||||
# Static libs for curl.
|
||||
sed -i 's/--libs/--static-libs/g' Makefile
|
||||
|
||||
export CFLAGS="$CFLAGS -static"
|
||||
|
||||
cat > config.mak <<EOF
|
||||
NO_GETTEXT=YesPlease
|
||||
@ -19,10 +22,11 @@ EOF
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
ac_cv_lib_curl_curl_global_init=yes \
|
||||
ac_cv_snprintf_returns_bogus=no \
|
||||
ac_cv_fread_reads_directories=yes
|
||||
|
||||
make
|
||||
make LIBS='-lcurl -lssl -lcrypto libgit.a xdiff/lib.a -lz'
|
||||
make DESTDIR="$1" install
|
||||
|
||||
cp -rf man "$1/usr/share/man"
|
||||
|
@ -1,3 +1,3 @@
|
||||
curl
|
||||
libressl
|
||||
zlib
|
||||
curl make
|
||||
libressl make
|
||||
zlib make
|
||||
|
@ -1 +1 @@
|
||||
2.28.0 2
|
||||
2.28.0 3
|
||||
|
Loading…
Reference in New Issue
Block a user