Skip to content

Commit

Permalink
Add -lm to fix undefined references under Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Richardson committed Jul 16, 2019
1 parent 6d88cf0 commit 07d588e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickjs.go
Expand Up @@ -2,7 +2,7 @@ package quickjs

/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: -L. -lquickjs
#cgo LDFLAGS: -L. -lquickjs -lm
#include "quickjs-bridge.h"
*/
import "C"

0 comments on commit 07d588e

Please sign in to comment.