mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			469 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			469 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| cargo-c defaults to static for musl otherwise
 | |
| diff --git a/cargo_wrapper.py b/cargo_wrapper.py
 | |
| index e04ad39..e7b3e03 100644
 | |
| --- a/cargo_wrapper.py
 | |
| +++ b/cargo_wrapper.py
 | |
| @@ -89,6 +89,7 @@ if __name__ == "__main__":
 | |
|              cargo_cmd += ['build']
 | |
|          else:
 | |
|              cargo_cmd += ['cbuild']
 | |
| +            cargo_cmd += ['--library-type=cdylib']
 | |
|              if not opts.disable_doc:
 | |
|                  features += ['doc']
 | |
|          if opts.target == 'release':
 |