mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
ldac: also look for the ldac/ldacBT.h header.
Otherwise there will be a scenario where the library can be found but not the header and a compilation build error will result Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1975>
This commit is contained in:
parent
8a8688c639
commit
1a53dfbd64
1 changed files with 2 additions and 1 deletions
|
@ -4,8 +4,9 @@ ldac_sources = [
|
|||
]
|
||||
|
||||
ldac_dep = cc.find_library('ldacBT_enc', required : get_option('ldac'))
|
||||
ldac_hdr = cc.has_header('ldac/ldacBT.h', required: get_option('ldac'))
|
||||
|
||||
if ldac_dep.found()
|
||||
if ldac_dep.found() and ldac_hdr
|
||||
gstldac = library('gstldac',
|
||||
ldac_sources,
|
||||
c_args : gst_plugins_bad_args,
|
||||
|
|
Loading…
Reference in a new issue