Skip to content

Commit

Permalink
fix go wrapper compile failed (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust authored Feb 9, 2023
1 parent 4c865e1 commit 851606a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bindings/go/csdk/csdk_wrapper.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package csdk

// #cgo darwin,arm64 LDFLAGS: -lbcos-c-sdk-aarch64
// #cgo darwin,amd64 LDFLAGS: -lbcos-c-sdk
// #cgo linux,amd64 LDFLAGS: -lbcos-c-sdk
// #cgo linux,arm64 LDFLAGS: -lbcos-c-sdk-aarch64
// #cgo darwin,arm64 LDFLAGS: -L/usr/local/lib/ -lbcos-c-sdk-aarch64
// #cgo darwin,amd64 LDFLAGS: -L/usr/local/lib/ -lbcos-c-sdk
// #cgo linux,amd64 LDFLAGS: -L/usr/local/lib/ -lbcos-c-sdk
// #cgo linux,arm64 LDFLAGS: -L/usr/local/lib/ -lbcos-c-sdk-aarch64
// #cgo windows,amd64 LDFLAGS: -L${SRCDIR}/libs/win -lbcos-c-sdk
// #cgo CFLAGS: -I./
// #include "../../../bcos-c-sdk/bcos_sdk_c_common.h"
Expand Down

0 comments on commit 851606a

Please sign in to comment.