mirror of https://github.com/mattn/go-sqlite3.git
Fix linking against dl
This commit is contained in:
parent
4892e42f7d
commit
b3c44b6181
|
@ -4,9 +4,9 @@ package sqlite
|
||||||
#cgo CFLAGS: -I.
|
#cgo CFLAGS: -I.
|
||||||
#cgo windows CFLAGS: -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
|
#cgo windows CFLAGS: -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
|
||||||
#cgo windows LDFLAGS: -lmingwex -lmingw32
|
#cgo windows LDFLAGS: -lmingwex -lmingw32
|
||||||
#cgo linux LDFLAGS: -dl
|
#cgo linux LDFLAGS: -ldl
|
||||||
#cgo freebsd LDFLAGS: -dl
|
#cgo freebsd LDFLAGS: -ldl
|
||||||
#cgo netbsd LDFLAGS: -dl
|
#cgo netbsd LDFLAGS: -ldl
|
||||||
#cgo openbsd LDFLAGS: -dl
|
#cgo openbsd LDFLAGS: -ldl
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
|
Loading…
Reference in New Issue