From e7b5bffc0c44569cb4bd87e21af242a30c2f2047 Mon Sep 17 00:00:00 2001 From: s441433 Date: Fri, 28 Dec 2018 22:13:43 +0100 Subject: [PATCH] Create sqlite3_other.go --- .../mattn/go-sqlite3/sqlite3_other.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/github.com/mattn/go-sqlite3/sqlite3_other.go diff --git a/src/github.com/mattn/go-sqlite3/sqlite3_other.go b/src/github.com/mattn/go-sqlite3/sqlite3_other.go new file mode 100644 index 0000000..71778fc --- /dev/null +++ b/src/github.com/mattn/go-sqlite3/sqlite3_other.go @@ -0,0 +1,17 @@ +// Copyright (C) 2014 Yasuhiro Matsumoto . +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. + +// +build !windows + +package sqlite3 + +/* +#cgo CFLAGS: -I. +#cgo linux LDFLAGS: -ldl +#cgo linux,ppc LDFLAGS: -lpthread +#cgo linux,ppc64 LDFLAGS: -lpthread +#cgo linux,ppc64le LDFLAGS: -lpthread +*/ +import "C"