]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/meson.build
configure, meson: rename targetos to host_os
[mirror_qemu.git] / bsd-user / meson.build
index 5243122fc56dbefc9a4bacedc47c98331ba1fdb1..39bad0ae33e7a27d91b8e9069cf96ee0fc4cc293 100644 (file)
@@ -7,6 +7,8 @@ bsd_user_ss = ss.source_set()
 common_user_inc += include_directories('include')
 
 bsd_user_ss.add(files(
+  'bsd-mem.c',
+  'bsd-proc.c',
   'bsdload.c',
   'elfload.c',
   'main.c',
@@ -16,7 +18,12 @@ bsd_user_ss.add(files(
   'uaccess.c',
 ))
 
+elf = cc.find_library('elf', required: true)
+procstat = cc.find_library('procstat', required: true)
+kvm = cc.find_library('kvm', required: true)
+bsd_user_ss.add(elf, procstat, kvm)
+
 # Pull in the OS-specific build glue, if any
-subdir(targetos)
+subdir(host_os)
 
 specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)