Skip to content

Instantly share code, notes, and snippets.

@theoparis
Created March 26, 2024 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theoparis/ea9d1ae240a164651800f15836e72169 to your computer and use it in GitHub Desktop.
Save theoparis/ea9d1ae240a164651800f15836e72169 to your computer and use it in GitHub Desktop.
Build qemu softmmu targets as static libraries
diff --git a/meson.build b/meson.build
index c9c3217ba4..d935e8f0bd 100644
--- a/meson.build
+++ b/meson.build
@@ -3905,8 +3905,9 @@ foreach target : target_dirs
objects: objects,
include_directories: target_inc,
c_args: c_args,
- build_by_default: false,
- name_suffix: 'fa')
+ build_by_default: true,
+ install: true,
+ name_suffix: 'a')
if target.endswith('-softmmu')
execs = [{
@ThomazPom
Copy link

Hey, @theoparis, did you simply apply this patch to the latest QEMU source, or were there additional steps involved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment