mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:42:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 191753ac1b680d24d76558209d9e26fd6d0ce372 Mon Sep 17 00:00:00 2001
 | |
| From: Luke Wilde <lukew@serenityos.org>
 | |
| Date: Wed, 16 Mar 2022 12:52:30 +0000
 | |
| Subject: [PATCH 2/2] Add build configuration info for serenity
 | |
| 
 | |
| 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 47eddd6..ab04a19 100644
 | |
| --- a/Configurations/shared-info.pl
 | |
| +++ b/Configurations/shared-info.pl
 | |
| @@ -34,6 +34,13 @@ my %shared_info;
 | |
|              shared_defflag    => '-Wl,--version-script=',
 | |
|          };
 | |
|      },
 | |
| +    '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'}; },
 | |
|      'bsd-shared' => sub {
 | |
|          return $shared_info{'gnu-shared'} if detect_gnu_ld();
 | |
| -- 
 | |
| 2.36.1
 | |
| 
 | 
