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"