From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Tue, 18 Jul 2023 18:58:14 +0200 Subject: [PATCH] Add build configuration info for serenity Co-Authored-By: Luke Wilde Co-Authored-By: Rodrigo Tobar --- 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',