Your srcFilter
expression is causing every C file to be ignored.
Just replace the library.json
file with
{
"name": "libwebp",
"build": {
"unflags": [
"-DHAVE_CONFIG_H"
],
"flags": [
"-I."
]
}
}