mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	gitcompile: Add static build
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									f70653fda7
								
							
						
					
					
						commit
						9685505bf4
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								gitcompile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								gitcompile
									
										
									
									
									
								
							|  | @ -32,6 +32,10 @@ if [ $# -ne 0 ]; then | ||||||
|       lto="-flto -flto-partition=none" |       lto="-flto -flto-partition=none" | ||||||
|       echo "Forced lto build..." |       echo "Forced lto build..." | ||||||
|       shift ;; |       shift ;; | ||||||
|  |     static) | ||||||
|  |       static=yes | ||||||
|  |       echo "Selected static build..." | ||||||
|  |       shift ;; | ||||||
|     *) |     *) | ||||||
|       endloop=yes |       endloop=yes | ||||||
|       ;; |       ;; | ||||||
|  | @ -75,6 +79,12 @@ if [ "$python2" = "yes" ]; then | ||||||
|   args="$args --enable-python2" |   args="$args --enable-python2" | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | if [ "$static" = "yes" ]; then | ||||||
|  |   #args="$args --enable-shared=no --enable-static=yes" | ||||||
|  |   args="$args --disable-shared" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| touch ltconfig | touch ltconfig | ||||||
| libtoolize --force --copy --automake | libtoolize --force --copy --automake | ||||||
| aclocal $ACLOCAL_FLAGS | aclocal $ACLOCAL_FLAGS | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jaroslav Kysela
						Jaroslav Kysela