Move chromium to it's own place OBS-URL: https://build.opensuse.org/request/show/79098 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1
		
			
				
	
	
		
			22 lines
		
	
	
		
			699 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			699 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| author: Andres Salomon <dilinger@debian.org>
 | |
| description: fix bindgen-related stuff
 | |
| 
 | |
| Also, the call to bindgen sets the path for libclang to
 | |
| rust_bindgen_root, which is wrong. We're already passing
 | |
| clang_base_path with the path to libclang, there's no reason that
 | |
| we'd expect libclang to be in the same directory as bindgen. That
 | |
| fix should probably go upstream.
 | |
| 
 | |
| 
 | |
| --- a/build/rust/rust_bindgen.gni
 | |
| +++ b/build/rust/rust_bindgen.gni
 | |
| @@ -18,7 +18,7 @@ if (host_os == "win") {
 | |
|  
 | |
|  # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
 | |
|  # ../lib.
 | |
| -_libclang_path = rust_bindgen_root
 | |
| +_libclang_path = clang_base_path
 | |
|  if (host_os == "win") {
 | |
|    _libclang_path += "/bin"
 | |
|  } else {
 |