mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	treewide: meson.build: use host_machine instead of build_machine
				
					
				
			At the moment, cross compilation may not work in certain cases because checks are carried out against the build machine instead of the host machine. Replace uses of `build_machine` with `host_machine` to fix that. In native compilation, all three "machine objects" available in meson are the same, so this change should have no effect in that case. More: https://mesonbuild.com/Cross-compilation.html
This commit is contained in:
		
							parent
							
								
									358254f20a
								
							
						
					
					
						commit
						68ff3ad841
					
				
					 4 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -527,7 +527,7 @@ pipewire_module_fallback_sink = shared_library('pipewire-module-fallback-sink',
 | 
			
		|||
  dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
build_module_avb = get_option('avb').require(build_machine.system() == 'linux', error_message: 'AVB support is only available on Linux').allowed()
 | 
			
		||||
build_module_avb = get_option('avb').require(host_machine.system() == 'linux', error_message: 'AVB support is only available on Linux').allowed()
 | 
			
		||||
if build_module_avb
 | 
			
		||||
pipewire_module_avb = shared_library('pipewire-module-avb',
 | 
			
		||||
  [ 'module-avb.c',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue