Skip to content

build: allow libintl to be a sibling subproject

Benjamin Gilbert requested to merge bgilbert/gdk-pixbuf:libintl into master

Meson 0.59+ has built-in handling of dependency('intl'). Use that if available and cc.find_library() otherwise.

In the case where libintl (specifically proxy-libintl) and gdk-pixbuf are both built as subprojects of the same parent project, we can't check for exported functions at setup time because libintl hasn't been built yet. Detect that case and assume bind_textdomain_codeset() is available.

Merge request reports