serenity/Ports/openssl/patches/0002-Add-build-configuration-info-for-serenity.patch
Kenneth Myhra b38edc9d43 Ports/openssl: Update to 3.0.9
The 3.0 series is the new LTS version and is supported until 7th
September 2026. The 1.1.1 series which is the previous LTS version has
an end of support on 11th September 2023.
2023-07-20 07:24:40 +01:00

30 lines
1.2 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Kenneth Myhra <kennethmyhra@gmail.com>
Date: Tue, 18 Jul 2023 18:58:14 +0200
Subject: [PATCH] Add build configuration info for serenity
Co-Authored-By: Luke Wilde <lukew@serenityos.org>
Co-Authored-By: Rodrigo Tobar <rtobarc@gmail.com>
---
Configurations/shared-info.pl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Configurations/shared-info.pl b/Configurations/shared-info.pl
index edd16f405594a7e0d25d479e7e04272679bf8061..04852a65793c2ad4f53615d9c6c054ea0760e80a 100644
--- a/Configurations/shared-info.pl
+++ b/Configurations/shared-info.pl
@@ -39,6 +39,13 @@ my %shared_info;
: '-Wl,-z,defs',
};
},
+ 'serenity-shared' => {
+ shared_ldflag => '-shared',
+ shared_sonameflag => '-Wl,-soname=',
+ # -Map is not really what should be used here, but we need a flag that
+ # accepts a filename and that it's '-version-map'
+ shared_defflag => "-Wl,-Map=",
+ },
'bsd-gcc-shared' => sub { return $shared_info{'linux-shared'}; },
'darwin-shared' => {
module_ldflags => '-bundle',