mirror of https://github.com/ledisdb/ledisdb.git
Merge pull request #222 from Aurlin/master
Update build flags for lua (Fix #217)
This commit is contained in:
commit
22360934dd
|
@ -8,8 +8,13 @@
|
||||||
package lua
|
package lua
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -llua
|
#cgo pkg-config: lua5.1
|
||||||
#cgo linux LDFLAGS: -lm -ldl
|
#cgo CFLAGS: -Ilua
|
||||||
|
#cgo llua LDFLAGS: -llua
|
||||||
|
#cgo luaa LDFLAGS: -llua -lm -ldl
|
||||||
|
#cgo linux,!llua,!luaa LDFLAGS: -llua5.1 -lm
|
||||||
|
#cgo darwin,!luaa pkg-config: lua5.1
|
||||||
|
#cgo freebsd,!luaa LDFLAGS: -llua-5.1
|
||||||
|
|
||||||
#include <lua.h>
|
#include <lua.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in New Issue