xtool: llvm InstallNameTool
This commit is contained in:
6
xtool/env/llvm/llvm.go
vendored
6
xtool/env/llvm/llvm.go
vendored
@@ -23,6 +23,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/goplus/llgo/xtool/clang"
|
||||
"github.com/goplus/llgo/xtool/llvm/install_name_tool"
|
||||
"github.com/goplus/llgo/xtool/llvm/llvmlink"
|
||||
"github.com/goplus/llgo/xtool/nm"
|
||||
)
|
||||
@@ -87,4 +88,9 @@ func (e *Env) Nm() *nm.Cmd {
|
||||
return nm.New(bin)
|
||||
}
|
||||
|
||||
func (e *Env) InstallNameTool() *install_name_tool.Cmd {
|
||||
bin := filepath.Join(e.BinDir(), "llvm-install-name-tool")
|
||||
return install_name_tool.New(bin)
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user