crypto/tlscreds.h includes GnuTLS headers if CONFIG_GNUTLS is set, but GNUTLS_CFLAGS, that describe include path, are not propagated transitively to all users of crypto and build fails if GnuTLS headers reside in non-standard directory (which is a case for homebrew on Apple Silicon). Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20210102125213.41279-1-r.bolshakov@yadro.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			360 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			360 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
qsd_ss = ss.source_set()
 | 
						|
qsd_ss.add(files('qemu-storage-daemon.c'))
 | 
						|
qsd_ss.add(blockdev, chardev, qmp, qom, qemuutil, gnutls)
 | 
						|
 | 
						|
subdir('qapi')
 | 
						|
 | 
						|
if have_tools
 | 
						|
  qsd_ss = qsd_ss.apply(config_host, strict: false)
 | 
						|
  executable('qemu-storage-daemon',
 | 
						|
             qsd_ss.sources(),
 | 
						|
             dependencies: qsd_ss.dependencies(),
 | 
						|
             install: true)
 | 
						|
endif
 |