summaryrefslogtreecommitdiff
path: root/slcl/0.2.0/0001-configure-Add-static-to-default_LDFLAGS.patch
blob: e34f6f7303b5b36564e2c4e6df5d166b0a382ff2 (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 2983f9a8772b71e318a8916ef24e49ab59ebb539 Mon Sep 17 00:00:00 2001
From: Xavier Del Campo Romero <xavi.dcr@tutanota.com>
Date: Mon, 12 Feb 2024 23:51:40 +0100
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