mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
lame: Disable tools when using the fallback subproject
This saves time when building, since we don't use the tools. Particularly on macOS, due to a macOS bug, Meson picks up an invalid ncurses-config binary and incorrectly detects the presence of ncurses, causing a build failure. This is fixed in the latest meson: https://github.com/mesonbuild/meson/pull/13715 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7611>
This commit is contained in:
parent
1a394e8b43
commit
3fadf4807c
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ if have_lame
|
|||
lame_extra_c_args += ['-DGSTLAME_PRESET']
|
||||
endif
|
||||
else
|
||||
lame_dep = dependency('mp3lame', fallback: ['lame', 'lame_dep'], required: lame_option)
|
||||
lame_dep = dependency('mp3lame', allow_fallback: true, required: lame_option,
|
||||
default_options: ['tools=disabled'])
|
||||
have_lame = lame_dep.found()
|
||||
lame_extra_c_args += ['-DHAVE_LAME_SET_VBR_QUALITY', '-DGSTLAME_PRESET', '-DLAME_SUBPROJECT']
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue