cpp: fix ldflags of llvm

This commit is contained in:
Li Jie
2024-11-26 12:24:49 +08:00
parent 284ae23db2
commit 0547dede21

View File

@@ -19,7 +19,7 @@ package llvm
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
const ( const (
LLGoPackage = "link: -L$(llvm-config --libdir) -lLLVM; -lLLVM" LLGoPackage = "link: -L$(llvm-config --libs) $(llvm-config --ldflags); -lLLVM"
) )
// StringView represents a C++ std::string_view object. // StringView represents a C++ std::string_view object.