title: Meson cross compiling dependencies
body: <p>Hello I am trying to cross compile systemd for arm, but I got stuck on 'mount' cross depencency. </p>
  
  <p>I managed to cross compile libmount from util-linux but can not figure out where to put it or how to specify where should meson look for it. </p>
  
  <p>There is a 'mount-path' option, but even when providing it it still says:</p>
  
  <pre><code>Meson encountered an error in file meson.build, line 797, column 0:                                                    
  Cross dependency 'mount' not found
  </code></pre>
  
  <p>My cross compile file looks like this:</p>
  
  <pre><code>[binaries]                   
  c = '/usr/bin/arm-linux-gnueabi-gcc'                       
  cpp = '/usr/bin/arm-linux-gnueabi-g++'                     
  ar = '/usr/arm-linux-gnueabi/bin/ar'                       
  strip = '/usr/arm-linux-gnueabi/bin/strip'                 
  pkgconfig = '/usr/bin/arm-linux-gnueabi-pkg-config'        
  
  [host_machine]               
  system = 'linux'             
  cpu_family = 'arm'           
  cpu = 'cortex-m4'            
  endian = 'little'            
  
  [build_machine]              
  system = 'linux'             
  cpu_family = 'x86_64'        
  cpu = 'i686'                 
  endian = 'little' 
  </code></pre>
  
  <p>Btw if you know about another way to get systemd on arm without this ridiculous(IMHO) setup it would be nice. </p>
  
  <p>Thank you.</p>