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
|
#!/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
|
cat > config.mak <<EOF
|
||||||
NO_GETTEXT=YesPlease
|
NO_GETTEXT=YesPlease
|
||||||
@ -19,10 +22,11 @@ EOF
|
|||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
|
ac_cv_lib_curl_curl_global_init=yes \
|
||||||
ac_cv_snprintf_returns_bogus=no \
|
ac_cv_snprintf_returns_bogus=no \
|
||||||
ac_cv_fread_reads_directories=yes
|
ac_cv_fread_reads_directories=yes
|
||||||
|
|
||||||
make
|
make LIBS='-lcurl -lssl -lcrypto libgit.a xdiff/lib.a -lz'
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
cp -rf man "$1/usr/share/man"
|
cp -rf man "$1/usr/share/man"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
curl
|
curl make
|
||||||
libressl
|
libressl make
|
||||||
zlib
|
zlib make
|
||||||
|
@ -1 +1 @@
|
|||||||
2.28.0 2
|
2.28.0 3
|
||||||
|
Loading…
Reference in New Issue
Block a user