Compiles faster, is PIC by default, and does not have pkgconfig files with wrong paths. Add various fixes to it as it seems cross compilation was never tested. Signed-off-by: Rosen Penev <rosenp@gmail.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			631 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			631 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 38b15ca2dc4ca32bbe4a2449e1c7b645e4577840 Mon Sep 17 00:00:00 2001
 | 
						|
From: Rosen Penev <rosenp@gmail.com>
 | 
						|
Date: Fri, 29 Apr 2022 16:53:43 -0700
 | 
						|
Subject: [PATCH 1/7] meson: fix compilation without systemd
 | 
						|
 | 
						|
systemdsystemunitdir is used elsewhere.
 | 
						|
 | 
						|
Signed-off-by: Rosen Penev <rosenp@gmail.com>
 | 
						|
---
 | 
						|
 meson.build | 1 +
 | 
						|
 1 file changed, 1 insertion(+)
 | 
						|
 | 
						|
--- a/meson.build
 | 
						|
+++ b/meson.build
 | 
						|
@@ -720,6 +720,7 @@ if fs_search_path_extra != ''
 | 
						|
 endif
 | 
						|
 conf.set_quoted('FS_SEARCH_PATH', fs_search_path)
 | 
						|
 
 | 
						|
+systemdsystemunitdir = ''
 | 
						|
 if systemd.found()
 | 
						|
   systemdsystemunitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
 | 
						|
 endif
 |