Use prefix variable in pkgconfig file
This commit is contained in:
		
							parent
							
								
									c7322f406c
								
							
						
					
					
						commit
						cf140f3ab0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2,8 +2,8 @@ pkg_conf = configuration_data()
 | 
			
		|||
prefix = get_option('prefix')
 | 
			
		||||
pkg_conf.set('prefix', prefix)
 | 
			
		||||
pkg_conf.set('VERSION', meson.project_version())
 | 
			
		||||
pkg_conf.set('hexchatlibdir', join_paths(prefix, plugindir))
 | 
			
		||||
pkg_conf.set('includedir', join_paths(prefix, get_option('includedir')))
 | 
			
		||||
pkg_conf.set('hexchatlibdir', join_paths('${prefix}', plugindir))
 | 
			
		||||
pkg_conf.set('includedir', join_paths('${prefix}', get_option('includedir')))
 | 
			
		||||
 | 
			
		||||
configure_file(
 | 
			
		||||
  input: 'hexchat-plugin.pc.in',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue