Use pkg-config instead of a hardcoded LDFLAGS

This commit is contained in:
lye 2012-01-10 08:16:34 +08:00 committed by fiber
parent 038b8b7d0c
commit e0e34d2bf7
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); return sqlite3_bind_blob(stmt, n, p, np, SQLITE_TRANSIENT);
} }
#cgo LDFLAGS: -lsqlite3 #cgo pkg-config: sqlite3
*/ */
import "C" import "C"
import ( import (