Use pkg-config instead of a hardcoded LDFLAGS

This commit is contained in:
lye 2012-01-10 00:16:34 +00:00
parent f4359f417e
commit 6a23a746e1
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ _sqlite3_bind_blob(sqlite3_stmt *stmt, int n, void *p, int np) {
return sqlite3_bind_blob(stmt, n, p, np, SQLITE_TRANSIENT);
}
#cgo LDFLAGS: -lsqlite3
#cgo pkg-config: sqlite3
*/
import "C"
import (