Skip to content

Commit

Permalink
zz
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Sep 12, 2024
1 parent 6be50f5 commit 0dafcd8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go/install/install_lib_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import lib "kcl-lang.io/lib/go/lib"

func installLib(libDir, libName string, versionMatched bool) error {
libFullName := libName + ".dll"
exportLibFullName := libName + ".lib"
exportLibFullName := libFullName + ".lib"
err := writeLib(libDir, libFullName, lib.CliLib, versionMatched)
if err != nil {
return err
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/native/cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package native

// #cgo CFLAGS:-I${SRCDIR}/../include
// #cgo !windows LDFLAGS:-lkclvm_cli_cdylib -lm -ldl -pthread
// #cgo windows LDFLAGS:-lkclvm_cli_cdylib -lmsvcrt -lmsvcrtd -lvcruntimed -lucrtd -llegacy_stdio_definitions -luserenv -lole32 -lntdll -lws2_32 -lkernel32 -lbcrypt
// #cgo windows LDFLAGS:-lkclvm_cli_cdylib -lmsvcrt -luserenv -lole32 -lntdll -lws2_32 -lkernel32 -lbcrypt
// #cgo linux,amd64 LDFLAGS:-L${SRCDIR}/../lib/linux-amd64 -Wl,-rpath,${SRCDIR}/../lib/linux-amd64
// #cgo linux,arm64 LDFLAGS:-L${SRCDIR}/../lib/linux-arm64 -Wl,-rpath,${SRCDIR}/../lib/linux-arm64
// #cgo darwin,amd64 LDFLAGS:-L${SRCDIR}/../lib/darwin-amd64 -Wl,-rpath,${SRCDIR}/../lib/darwin-amd64
Expand Down

0 comments on commit 0dafcd8

Please sign in to comment.