Update cross-compile config to properly install openssl stuff
This is based on the recipe in Cross wiki[^1] and seems to work [^1]: https://github.com/cross-rs/cross/wiki/Recipes#pre-build
This commit is contained in:
		
							parent
							
								
									3f979af5d8
								
							
						
					
					
						commit
						635e8506c6
					
				| 
						 | 
				
			
			@ -2,4 +2,7 @@
 | 
			
		|||
default-target = "x86_64-unknown-linux-gnu"
 | 
			
		||||
 | 
			
		||||
[target.x86_64-unknown-linux-gnu]
 | 
			
		||||
pre-build = ["apt-get install --assume-yes libssl-dev"]
 | 
			
		||||
pre-build = [
 | 
			
		||||
    "dpkg --add-architecture $CROSS_DEB_ARCH",
 | 
			
		||||
    "apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue