mirror of https://github.com/mattn/go-sqlite3.git
Use pkg-config instead of a hardcoded LDFLAGS
This commit is contained in:
parent
f4359f417e
commit
6a23a746e1
|
@ -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 (
|
||||||
|
|
Loading…
Reference in New Issue