Fix linking against dl

This commit is contained in:
Jesse van den Kieboom 2013-03-23 12:04:25 +01:00
parent 4892e42f7d
commit b3c44b6181
1 changed files with 4 additions and 4 deletions

View File

@ -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"