Skip to content

Commit 196f872

Browse files
committed
fix: add lib prefix in unix
1 parent 72c6525 commit 196f872

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install_lib_unix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ func installLib(libDir, libName string) error {
1111
libFullName := "lib" + libName
1212
switch runtime.GOOS {
1313
case "darwin":
14-
libFullName = libName + ".dylib"
14+
libFullName = libFullName + ".dylib"
1515
case "linux":
16-
libFullName = libName + ".so"
16+
libFullName = libFullName + ".so"
1717
}
1818
return writeLib(libDir, libFullName, kclvmCliLib)
1919
}

0 commit comments

Comments
 (0)