mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	build system: make INSTALL_ROOT depend on BUILD_PREFIX as well
This makes things more consistent. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									623eb6a16f
								
							
						
					
					
						commit
						ebe317d644
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -174,8 +174,12 @@ if [[ ! -d "subsurface" ]] ; then
 | 
			
		|||
	exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
mkdir -p install-root
 | 
			
		||||
if [ -z "$BUILD_PREFIX" ] ; then
 | 
			
		||||
	INSTALL_ROOT=$SRC/install-root
 | 
			
		||||
else
 | 
			
		||||
	INSTALL_ROOT="$BUILD_PREFIX"install-root
 | 
			
		||||
fi
 | 
			
		||||
mkdir -p "$INSTALL_ROOT"
 | 
			
		||||
export INSTALL_ROOT
 | 
			
		||||
 | 
			
		||||
# make sure we find our own packages first (e.g., libgit2 only uses pkg_config to find libssh2)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue