mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-04 05:55:37 -07:00
curl: fix static linking
This commit is contained in:
parent
0f987bbd80
commit
692389cd2c
@ -1,5 +1,12 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
# Upstream recently broke static linking. It is still supported via LDFLAGS but
|
||||
# this disables output of the shared library. This sed call adds -all-static to
|
||||
# the curl commands' compilation (keeping libraries in tact).
|
||||
# See: https://github.com/curl/curl/issues/7475
|
||||
sed 's/\(curl_LDADD =\)/\1 -all-static/' src/Makefile.in > _
|
||||
mv -f _ src/Makefile.in
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-ipv6 \
|
||||
@ -18,5 +25,5 @@
|
||||
--without-libidn2 \
|
||||
--without-zstd
|
||||
|
||||
make curl_LDFLAGS=-all-static
|
||||
make
|
||||
make install
|
||||
|
@ -1 +1 @@
|
||||
7.78.0 1
|
||||
7.78.0 2
|
||||
|
Loading…
Reference in New Issue
Block a user