win32: COMSPEC is sometimes ComSpec
This commit is contained in:
		
							parent
							
								
									0cd9784943
								
							
						
					
					
						commit
						0af0ac0f29
					
				
							
								
								
									
										4
									
								
								3rdparty/Makefile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								3rdparty/Makefile
									
									
									
									
										vendored
									
									
								
							@ -147,6 +147,10 @@ STRIP = strip
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# There is no uname under windows, but we can guess we are there with the COMSPEC env.var
 | 
					# There is no uname under windows, but we can guess we are there with the COMSPEC env.var
 | 
				
			||||||
# Windows specific
 | 
					# Windows specific
 | 
				
			||||||
 | 
					ifdef ComSpec
 | 
				
			||||||
 | 
					# sometimes, it is ComSpec, sometimes it is COMSPEC
 | 
				
			||||||
 | 
					COMSPEC = $(ComSpec)
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
ifdef COMSPEC
 | 
					ifdef COMSPEC
 | 
				
			||||||
WIN32 = 1
 | 
					WIN32 = 1
 | 
				
			||||||
RANLIB = ranlib
 | 
					RANLIB = ranlib
 | 
				
			||||||
 | 
				
			|||||||
@ -97,6 +97,10 @@ PKG_CONFIG ?= pkg-config
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# There is no uname under windows, but we can guess we are there with the COMSPEC env.var
 | 
					# There is no uname under windows, but we can guess we are there with the COMSPEC env.var
 | 
				
			||||||
# Windows specific
 | 
					# Windows specific
 | 
				
			||||||
 | 
					ifdef ComSpec
 | 
				
			||||||
 | 
					# sometimes, it is ComSpec, sometimes it is COMSPEC
 | 
				
			||||||
 | 
					COMSPEC = $(ComSpec)
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
ifdef COMSPEC
 | 
					ifdef COMSPEC
 | 
				
			||||||
  DELCOMMAND = rm -f
 | 
					  DELCOMMAND = rm -f
 | 
				
			||||||
  MKDIR = mkdir -p
 | 
					  MKDIR = mkdir -p
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user