gnu: egl-wayland: Fix cross-compiling.
* gnu/packages/xorg.scm (egl-wayland)[native-inputs]: When cross-compiling add pkg-config-for-build, wayland, wayland-protocols.
This commit is contained in:
		
							parent
							
								
									bc1634a197
								
							
						
					
					
						commit
						f668e5c8d2
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -5243,8 +5243,11 @@ application-facing EGL functions.")
 | 
				
			||||||
        (base32 "11a3j2rjai2vsway9ki5y3ncvhrwd300pz2zcq36mq3brbr1vgf5"))))
 | 
					        (base32 "11a3j2rjai2vsway9ki5y3ncvhrwd300pz2zcq36mq3brbr1vgf5"))))
 | 
				
			||||||
    (build-system meson-build-system)
 | 
					    (build-system meson-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     (list libglvnd ;needed for headers
 | 
					     (cons* libglvnd ;needed for headers
 | 
				
			||||||
           mesa-headers pkg-config))
 | 
					            mesa-headers pkg-config
 | 
				
			||||||
 | 
					            (if (%current-target-system)
 | 
				
			||||||
 | 
					              (list pkg-config-for-build wayland wayland-protocols)
 | 
				
			||||||
 | 
					              '())))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     (list mesa wayland wayland-protocols))
 | 
					     (list mesa wayland wayland-protocols))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue