We found libxml2 requires zlib indirectly, which means it requires zlib in code but not in header.
In that case, llcppg cannot recognize this indirect dependency, which will cause the failure of llpkg dependency analyzing.
So i proposal to add a blank module path to solve indirect dependency.
Example:
libxml2_autogen_link.go:
import _ "github.com/goplus/llpkg/zlib"
llcppg.cfg:
{
...
deps: [..., "github.com/goplus/llpkg/[email protected]"]
}