Skip to content

meson: check for stpcpy using cc.links()

Vilius Sutkus 89 requested to merge ViliusSutkus89/glib:Android-stpcpy into master

cc.has_function() provide a false positive for stpcpy in Android-20 and earlier. Only Android-21+ ship that symbol.

Given that Windows has similar issues with this symbol, should we just skip the system check and only do the link test? I assume cc.links() check produces reliable result.

Merge request reports