Wrong static lib for curl 7.72.0-2

curl-config returns libcurl.a but it was not installed. Not sure if it’s a problem of curl-config or of the PKGBUILD

[louisabraham@pbp linux]$ curl-config --static-libs
/usr/lib/libcurl.a -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -lnghttp2 -lidn2 -lssh2 -lssh2 -lpsl -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lzstd -lz
[louisabraham@pbp linux]$ pacman -Ql curl | grep libcurl.a

In case you need libcurl.a, a simple workaround is

sudo ln -s /usr/lib/libcurl.so /usr/lib/libcurl.a