mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +01:00 
			
		
		
		
	meson: Fix building as a subproject
meson.source_root() returns the toplevel source directory of the toplevel project, thus the paths were wrong when using it. Simply using files() gets us the right path https://bugzilla.gnome.org/show_bug.cgi?id=784133
This commit is contained in:
		
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							1d30c9eebc
						
					
				
				
					commit
					eb2196e89d
				
			| @@ -732,7 +732,7 @@ if libelf.found() | ||||
| endif | ||||
|  | ||||
| gconstructor_as_data_h = custom_target('gconstructor_as_data.h', | ||||
|     input : ['data-to-c.py', meson.source_root() + '/glib/gconstructor.h'], | ||||
|     input : ['data-to-c.py', files('../glib/gconstructor.h')], | ||||
|     output : ['gconstructor_as_data.h'], | ||||
|     command : [python, '@INPUT0@', '@INPUT1@', 'gconstructor_code', '@OUTPUT@']) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user