summaryrefslogtreecommitdiff
path: root/slcl/0.2.1/0001-configure-Add-static-to-default_LDFLAGS.patch
blob: c5de56937f4fe2e52a070403531dc1d1285c51ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 89a36e6acd724961adafc5b194873748c199ed3a Mon Sep 17 00:00:00 2001
From: Xavier Del Campo Romero <xavi.dcr@tutanota.com>
Date: Thu, 26 Oct 2023 10:39:36 +0200
Subject: [PATCH] configure: Add -static to default_LDFLAGS

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index afe9057..3c66dec 100755
--- a/configure
+++ b/configure
@@ -7,7 +7,7 @@ prefix=$default_prefix
 default_CC='c99'
 # FILE_OFFSET_BITS=64 is required for large file support on 32-bit platforms.
 default_CFLAGS='-O1 -g -D_FILE_OFFSET_BITS=64 -Wall -MD'
-default_LDFLAGS="-lcjson -lssl -lm -lcrypto"
+default_LDFLAGS="-lcjson -lssl -lm -lcrypto -static"
 
 CC=${CC:-$default_CC}
 CFLAGS=${CFLAGS:-"$default_CFLAGS $default_NPCFLAGS"}
-- 
2.34.1