mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
meson: use prefer_static option
The option is new in Meson 0.63 and removes the need to pass "static: true" to all dependency and find_library invocation. Actually cleaning up the invocations is left for a separate patch. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3b087f79a4
commit
a0cbd2e849
4 changed files with 8 additions and 14 deletions
4
configure
vendored
4
configure
vendored
|
@ -2409,9 +2409,6 @@ fi
|
|||
if test "$solaris" = "yes" ; then
|
||||
echo "CONFIG_SOLARIS=y" >> $config_host_mak
|
||||
fi
|
||||
if test "$static" = "yes" ; then
|
||||
echo "CONFIG_STATIC=y" >> $config_host_mak
|
||||
fi
|
||||
echo "SRC_PATH=$source_path" >> $config_host_mak
|
||||
echo "TARGET_DIRS=$target_list" >> $config_host_mak
|
||||
if test "$modules" = "yes"; then
|
||||
|
@ -2654,6 +2651,7 @@ if test "$skip_meson" = no; then
|
|||
# Built-in options
|
||||
test "$bindir" != "bin" && meson_option_add "-Dbindir=$bindir"
|
||||
test "$default_feature" = no && meson_option_add -Dauto_features=disabled
|
||||
test "$static" = yes && meson_option_add -Dprefer_static=true
|
||||
test "$pie" = no && meson_option_add -Db_pie=false
|
||||
test "$werror" = yes && meson_option_add -Dwerror=true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue