aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert-Jan Timmer <gjr.timmer@gmail.com>2018-05-30 15:39:44 +0200
committerGert-Jan Timmer <gjr.timmer@gmail.com>2018-06-13 10:33:23 +0200
commitdfef8b7b8deec6cb99c1f3381e1184edb805f09f (patch)
tree69f92113fb0587ffbcf81c412af3cb006809224f
parentMerge pull request #592 from GJRTimmer/fix/test/coverage (diff)
downloadgolite-dfef8b7b8deec6cb99c1f3381e1184edb805f09f.tar.gz
golite-dfef8b7b8deec6cb99c1f3381e1184edb805f09f.tar.xz
Moved solaris flag from _other.go => _solaris.go
-rw-r--r--sqlite3_other.go1
-rw-r--r--sqlite3_solaris.go1
2 files changed, 1 insertions, 1 deletions
diff --git a/sqlite3_other.go b/sqlite3_other.go
index b09f48e..086ed43 100644
--- a/sqlite3_other.go
+++ b/sqlite3_other.go
@@ -10,6 +10,5 @@ package sqlite3
/*
#cgo CFLAGS: -I.
#cgo linux LDFLAGS: -ldl
-#cgo solaris LDFLAGS: -lc
*/
import "C"
diff --git a/sqlite3_solaris.go b/sqlite3_solaris.go
index ea41c66..40b2b2f 100644
--- a/sqlite3_solaris.go
+++ b/sqlite3_solaris.go
@@ -9,5 +9,6 @@ package sqlite3
/*
#cgo CFLAGS: -D__EXTENSIONS__=1
+#cgo LDFLAGS: -lc
*/
import "C"