mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-01 13:44:40 +00: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
|
@ -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…
Reference in a new issue