mirror of
				https://github.com/swaywm/sway.git
				synced 2025-10-29 05:40:18 -04:00 
			
		
		
		
	 eed0bc3ebd
			
		
	
	
		eed0bc3ebd
		
	
	
	
	
		
			
			It's better to use DT_RPATH dynamic section of the elf binary to store the paths of libraries to load instead of overwriting LD_LIBRARY_PATH for the whole environment, causing surprises. This solution is much more transparent and perfectly suitable for running contained installations of wayland/wlroots/sway. The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as it's a placebo security at best - we should trust the execution path that leads us to running sway, and it's way too late to care about those variables since we already started executing our compositor, thus we would be compromised anyway.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			829 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			829 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
| option('sway-version', type : 'string', description: 'The version string reported in `sway --version`.')
 | |
| option('use_rpath', type: 'boolean', value: false, description: 'install binaries with rpath set')
 | |
| option('custom_rpath', type: 'string', value: '', description: 'override rpath with a custom one')
 | |
| option('default-wallpaper', type: 'boolean', value: true, description: 'Install the default wallpaper.')
 | |
| option('zsh-completions', type: 'boolean', value: true, description: 'Install zsh shell completions.')
 | |
| option('bash-completions', type: 'boolean', value: true, description: 'Install bash shell completions.')
 | |
| option('fish-completions', type: 'boolean', value: true, description: 'Install fish shell completions.')
 | |
| option('enable-xwayland', type: 'boolean', value: true, description: 'Enable support for X11 applications')
 |