 ce43e84260
			
		
	
	
		ce43e84260
		
	
	
	
	
		
			
			Add back test-plugins and, after making sure it is always defined,
do so unconditionally.
Reported-by: Alex Bennée <alex.bennee@linaro.org>
Fixes: 2c13c574418 ("configure, meson: move --enable-plugins to meson", 2023-09-07)
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
	
			
		
			
				
	
	
		
			14 lines
		
	
	
		
			382 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			382 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
| t = []
 | |
| if get_option('plugins')
 | |
|   foreach i : ['bb', 'empty', 'insn', 'mem', 'syscall']
 | |
|     t += shared_module(i, files(i + '.c'),
 | |
|                        include_directories: '../../include/qemu',
 | |
|                        dependencies: glib)
 | |
|   endforeach
 | |
| endif
 | |
| if t.length() > 0
 | |
|   alias_target('test-plugins', t)
 | |
| else
 | |
|   run_target('test-plugins', command: find_program('true'))
 | |
| endif
 |