Skip to content

Commit

Permalink
fix: link m on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Sep 18, 2024
1 parent 37162be commit 274d255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ package west

// #cgo darwin,amd64 LDFLAGS: -L${SRCDIR}/lib/x86_64-darwin -lwest
// #cgo darwin,arm64 LDFLAGS: -L${SRCDIR}/lib/aarch64-darwin -lwest
// #cgo linux,amd64 LDFLAGS: -L${SRCDIR}/lib/x86_64-linux -lwest
// #cgo linux,arm64 LDFLAGS: -L${SRCDIR}/lib/aarch64-linux -lwest
// #cgo linux,amd64 LDFLAGS: -L${SRCDIR}/lib/x86_64-linux -lwest -lm
// #cgo linux,arm64 LDFLAGS: -L${SRCDIR}/lib/aarch64-linux -lwest -lm
// #cgo windows,amd64 LDFLAGS: -L${SRCDIR}/lib/x86_64-windows -lwest
// #cgo windows,arm64 LDFLAGS: -L${SRCDIR}/lib/aarch64-windows -lwest
import "C"
2 changes: 1 addition & 1 deletion build_dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

package west

// #cgo LDFLAGS: -L${SRCDIR}/target/debug -lwest_sys
// #cgo LDFLAGS: -L${SRCDIR}/target/debug -lwest_sys -lm
import "C"

0 comments on commit 274d255

Please sign in to comment.