From b3c44b6181cff31551a1264f60a3e21aa59539da Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Sat, 23 Mar 2013 12:04:25 +0100 Subject: [PATCH] Fix linking against dl --- sqlite3_c.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sqlite3_c.go b/sqlite3_c.go index 8bb5006..f181188 100644 --- a/sqlite3_c.go +++ b/sqlite3_c.go @@ -4,9 +4,9 @@ package sqlite #cgo CFLAGS: -I. #cgo windows CFLAGS: -fno-stack-check -fno-stack-protector -mno-stack-arg-probe #cgo windows LDFLAGS: -lmingwex -lmingw32 -#cgo linux LDFLAGS: -dl -#cgo freebsd LDFLAGS: -dl -#cgo netbsd LDFLAGS: -dl -#cgo openbsd LDFLAGS: -dl +#cgo linux LDFLAGS: -ldl +#cgo freebsd LDFLAGS: -ldl +#cgo netbsd LDFLAGS: -ldl +#cgo openbsd LDFLAGS: -ldl */ import "C"