mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	build-system/macOS: fix up the id of libssh2 as well
For some reason we only tried to fix libgit2 but not the libssh2 that it depend on. Weird. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									c0a08b889e
								
							
						
					
					
						commit
						5c403edf79
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -218,6 +218,14 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
 | 
			
		|||
	make -j4
 | 
			
		||||
	make install
 | 
			
		||||
	popd
 | 
			
		||||
	if [ $PLATFORM = Darwin ] ; then
 | 
			
		||||
		# in order for macdeployqt to do its job correctly, we need the full path in the dylib ID
 | 
			
		||||
		cd $INSTALL_ROOT/lib
 | 
			
		||||
		NAME=$(otool -L libssh2.dylib | grep -v : | head -1 | cut -f1 -d\  | tr -d '\t')
 | 
			
		||||
		echo $NAME | if grep -v / > /dev/null 2>&1 ; then
 | 
			
		||||
			install_name_tool -id "$INSTALL_ROOT/lib/$NAME" "$INSTALL_ROOT/lib/$NAME"
 | 
			
		||||
		fi
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [[ "$LIBGIT" < "24" ]] ; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue