Skip to content

Commit

Permalink
fix musl linking
Browse files Browse the repository at this point in the history
  • Loading branch information
slandymani committed Jul 22, 2024
1 parent 5c23c91 commit 2a47bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/link_muslc_aarch64.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

package api

// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lwasmvm_muslc.aarch64
// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lwasmvm_muslc.aarch64 -lgmp
import "C"
2 changes: 1 addition & 1 deletion api/link_muslc_x86_64.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

package api

// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lwasmvm_muslc.x86_64
// #cgo LDFLAGS: -Wl,-rpath,${SRCDIR} -L${SRCDIR} -lwasmvm_muslc.x86_64 -lgmp
import "C"

0 comments on commit 2a47bf1

Please sign in to comment.