diff --git a/Makefile b/Makefile index a08e991..ca92e4c 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,9 @@ build: build-rust build-go build-rust: cargo build --release - cp target/release/libgo_cosmwasm.so api + cp target/release/libgo_rust_demo.so api # this pulls out ELF symbols, 80% size reduction! - strip api/libgo_cosmwasm.so + strip api/libgo_rust_demo.so build-go: go build . diff --git a/api/api.go b/api/api.go index 175474b..1110f79 100644 --- a/api/api.go +++ b/api/api.go @@ -1,6 +1,6 @@ package api -// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lgo_cosmwasm +// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lgo_rust_demo // #include // #include "bindings.h" import "C"