Skip to content

Commit

Permalink
fix: add lib prefix in unix
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverRaR committed Feb 22, 2023
1 parent 72c6525 commit 196f872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_lib_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ func installLib(libDir, libName string) error {
libFullName := "lib" + libName
switch runtime.GOOS {
case "darwin":
libFullName = libName + ".dylib"
libFullName = libFullName + ".dylib"
case "linux":
libFullName = libName + ".so"
libFullName = libFullName + ".so"
}
return writeLib(libDir, libFullName, kclvmCliLib)
}

0 comments on commit 196f872

Please sign in to comment.