From 6a23a746e13aac7dfedb85b5c12db17533b420e0 Mon Sep 17 00:00:00 2001 From: lye Date: Tue, 10 Jan 2012 00:16:34 +0000 Subject: [PATCH] Use pkg-config instead of a hardcoded LDFLAGS --- sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3.go b/sqlite3.go index 364e8c1..731cf73 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -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 (