mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	fix configure bug, refine code for stream caster.
This commit is contained in:
		
							parent
							
								
									6c11207e28
								
							
						
					
					
						commit
						f9767c91b5
					
				
					 9 changed files with 32 additions and 8 deletions
				
			
		
							
								
								
									
										7
									
								
								trunk/configure
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								trunk/configure
									
										
									
									
										vendored
									
									
								
							|  | @ -7,7 +7,7 @@ | |||
| SRS_WORKDIR="." | ||||
| SRS_OBJS_DIR="objs" | ||||
| SRS_OBJS="${SRS_WORKDIR}/${SRS_OBJS_DIR}" | ||||
| mkdir -p ${SRS_OBJS} | ||||
| SRS_MAKEFILE="Makefile" | ||||
| 
 | ||||
| # linux shell color support. | ||||
| RED="\\033[31m" | ||||
|  | @ -23,6 +23,9 @@ fi | |||
| # remove makefile | ||||
| rm -f ${SRS_WORKDIR}/${SRS_MAKEFILE} | ||||
| 
 | ||||
| # create objs | ||||
| mkdir -p ${SRS_OBJS} | ||||
| 
 | ||||
| ##################################################################################### | ||||
| # parse user options, set the variables like: | ||||
| # srs features: SRS_SSL/SRS_HLS/SRS_NGINX/SRS_FFMPEG_TOOL/SRS_HTTP_CALLBACK/...... | ||||
|  | @ -43,11 +46,9 @@ rm -f ${SRS_WORKDIR}/${SRS_MAKEFILE} | |||
| ##################################################################################### | ||||
| # generate Makefile. | ||||
| ##################################################################################### | ||||
| SRS_MAKEFILE="Makefile" | ||||
| # ubuntu echo in Makefile cannot display color, use bash instead | ||||
| SRS_BUILD_SUMMARY="_srs_build_summary.sh" | ||||
| 
 | ||||
| ##################################################################################### | ||||
| # srs-librtmp sample entry | ||||
| SrsLibrtmpSampleEntry="nossl" | ||||
| if [ $SRS_SSL = YES ]; then SrsLibrtmpSampleEntry="ssl";fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue