mirror of
https://github.com/pulseaudio/pulseaudio.git
synced 2024-11-23 09:53:32 +08:00
build-sys: meson: Process subdirectories before generating configuration
Subdirectories add to the top-level cdata (specifically, the SIMD detection happens in the pulsecore meson.build), so we were missing HAVE_MMX/SSE2/NEON defines without this fix.
This commit is contained in:
parent
f515443fa0
commit
1172daf19b
22
meson.build
22
meson.build
@ -674,6 +674,17 @@ endif
|
||||
|
||||
check_dep = dependency('check', version : '>= 0.9.10', required : get_option('tests'))
|
||||
|
||||
# Subdirs
|
||||
|
||||
subdir('po')
|
||||
if get_option('man')
|
||||
subdir('man')
|
||||
endif
|
||||
subdir('shell-completion/bash')
|
||||
subdir('shell-completion/zsh')
|
||||
subdir('src')
|
||||
subdir('vala')
|
||||
|
||||
# Now generate config.h from everything above
|
||||
configure_file(output : 'config.h', configuration : cdata)
|
||||
|
||||
@ -741,17 +752,6 @@ configure_file(
|
||||
install_dir : cmakedir,
|
||||
)
|
||||
|
||||
# Subdirs
|
||||
|
||||
subdir('po')
|
||||
if get_option('man')
|
||||
subdir('man')
|
||||
endif
|
||||
subdir('shell-completion/bash')
|
||||
subdir('shell-completion/zsh')
|
||||
subdir('src')
|
||||
subdir('vala')
|
||||
|
||||
############################################################
|
||||
|
||||
# Final summary
|
||||
|
Loading…
Reference in New Issue
Block a user