Added link flags for dl

This commit is contained in:
Jesse van den Kieboom 2013-03-23 11:46:06 +01:00
parent 51dff2333e
commit 7b2b45f066
2 changed files with 8 additions and 1 deletions

6
sqlite3_darwin.go Normal file
View File

@ -0,0 +1,6 @@
package sqlite
/*
#cgo CFLAGS: -I.
*/
import "C"

View File

@ -1,8 +1,9 @@
// +build !windows // +build !windows, !darwin
package sqlite package sqlite
/* /*
#cgo CFLAGS: -I. #cgo CFLAGS: -I.
#cgo LDFLAGS: -ldl
*/ */
import "C" import "C"