mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 03:26:31 +01:00
fix(steps-guix/git): add static-libcurl build path with configure check patch
This commit is contained in:
parent
7ed755a106
commit
ddbe55b76b
4 changed files with 73 additions and 0 deletions
19
steps-guix/git-2.53.0/patches/static-libcurl-link.patch
Normal file
19
steps-guix/git-2.53.0/patches/static-libcurl-link.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
--- git-2.53.0/configure
|
||||
+++ git-2.53.0/configure
|
||||
@@ -5582,7 +5582,7 @@
|
||||
printf %s "(cached) " >&6
|
||||
else case e in #(
|
||||
e) ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lcurl $LIBS"
|
||||
+LIBS="-lcurl -lssl -lcrypto -lz -pthread $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -5695,6 +5695,7 @@
|
||||
fi
|
||||
|
||||
CURL_LDFLAGS=$($CURL_CONFIG $CURL_CONFIG_OPTS)
|
||||
+ CURL_LDFLAGS="$CURL_LDFLAGS -lssl -lcrypto -lz -pthread"
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Setting CURL_LDFLAGS to '$CURL_LDFLAGS'" >&5
|
||||
printf "%s\n" "$as_me: Setting CURL_LDFLAGS to '$CURL_LDFLAGS'" >&6;}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue