mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: reverse intl check
If we have a library, use that, otherwise use the normal dep. Might fix build on musl
This commit is contained in:
parent
6543899fe6
commit
7201b079fc
1 changed files with 2 additions and 3 deletions
|
|
@ -426,10 +426,9 @@ libinotify_dep = (build_machine.system() == 'freebsd'
|
|||
: dependency('', required: false))
|
||||
|
||||
# On FreeBSD, libintl library is required for gettext
|
||||
libintl_dep = dependency('intl', required: false)
|
||||
|
||||
libintl_dep = cc.find_library('intl', required: false)
|
||||
if not libintl_dep.found()
|
||||
libintl_dep = cc.find_library('intl', required: false)
|
||||
libintl_dep = dependency('intl', required: false)
|
||||
endif
|
||||
summary({'intl support': libintl_dep.found()}, bool_yn: true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue