From 2a47bf1effafe51f5ee6b0578323655c9901741f Mon Sep 17 00:00:00 2001 From: slandymani Date: Mon, 22 Jul 2024 20:59:01 +0300 Subject: [PATCH] fix musl linking --- api/link_muslc_aarch64.go | 2 +- api/link_muslc_x86_64.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/link_muslc_aarch64.go b/api/link_muslc_aarch64.go index e3ab74aeb..ec10bc250 100644 --- a/api/link_muslc_aarch64.go +++ b/api/link_muslc_aarch64.go @@ -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" diff --git a/api/link_muslc_x86_64.go b/api/link_muslc_x86_64.go index 58489509f..2ac0e60f2 100644 --- a/api/link_muslc_x86_64.go +++ b/api/link_muslc_x86_64.go @@ -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"