mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-04 06:15:20 +00:00 
			
		
		
		
	Fix wrong order of arguments to shutil.copy in wscript
This commit is contained in:
		
							parent
							
								
									a3c374d368
								
							
						
					
					
						commit
						2117d03aba
					
				
							
								
								
									
										2
									
								
								wscript
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								wscript
									
									
									
									
									
								
							@ -309,7 +309,7 @@ def configure(ctx):
 | 
				
			|||||||
        dst = os.path.join(ctx.path.get_bld().abspath(), 'lib', name, 'bin', 'libclang.dll')
 | 
					        dst = os.path.join(ctx.path.get_bld().abspath(), 'lib', name, 'bin', 'libclang.dll')
 | 
				
			||||||
        os.symlink(dst, out_clang_dll)
 | 
					        os.symlink(dst, out_clang_dll)
 | 
				
			||||||
      except (OSError, NotImplementedError):
 | 
					      except (OSError, NotImplementedError):
 | 
				
			||||||
        shutil.copy(dst, out_clang_dll)
 | 
					        shutil.copy(out_clang_dll, dst)
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
      ctx.env.rpath = ctx.env['LIBPATH_clang']
 | 
					      ctx.env.rpath = ctx.env['LIBPATH_clang']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user