From e0e34d2bf7cf39cb76ef46ee2e22a13b0a661eb3 Mon Sep 17 00:00:00 2001 From: lye Date: Tue, 10 Jan 2012 08:16:34 +0800 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 (