c/clang: use llvm-config

This commit is contained in:
xushiwei
2024-06-25 12:00:48 +08:00
parent f41511047e
commit e00e9ba5aa

View File

@@ -22,6 +22,10 @@ import (
"github.com/goplus/llgo/c" "github.com/goplus/llgo/c"
) )
const (
LLGoPackage = "link: -L$(llvm-config --libdir) -lclang; -lclang"
)
/** /**
* Opaque pointer representing client data that will be passed through * Opaque pointer representing client data that will be passed through
* to various callbacks and visitors. * to various callbacks and visitors.