diff options
author | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-06-20 16:37:11 +0200 |
---|---|---|
committer | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-06-28 11:44:40 +0200 |
commit | f08fefa53a0bd1bb258c8aa8cdc46ef8306e462c (patch) | |
tree | ac4c3cebe3d9167de222136dd76a869f9390891e | |
parent | fix/306 (diff) | |
download | golite-f08fefa53a0bd1bb258c8aa8cdc46ef8306e462c.tar.gz golite-f08fefa53a0bd1bb258c8aa8cdc46ef8306e462c.tar.xz |
fix/306
* ppc
* ppc64
* ppc64le
-rw-r--r-- | sqlite3_other.go | 3 | ||||
-rw-r--r-- | sqlite3_ppc.go | 14 | ||||
-rw-r--r-- | sqlite3_ppc64.go | 14 |
3 files changed, 3 insertions, 28 deletions
diff --git a/sqlite3_other.go b/sqlite3_other.go index 086ed43..71778fc 100644 --- a/sqlite3_other.go +++ b/sqlite3_other.go @@ -10,5 +10,8 @@ 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" diff --git a/sqlite3_ppc.go b/sqlite3_ppc.go deleted file mode 100644 index 06ff0f2..0000000 --- a/sqlite3_ppc.go +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>. -// -// 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 LDFLAGS: -ldl -lpthread -*/ -import "C" diff --git a/sqlite3_ppc64.go b/sqlite3_ppc64.go deleted file mode 100644 index 06ff0f2..0000000 --- a/sqlite3_ppc64.go +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>. -// -// 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 LDFLAGS: -ldl -lpthread -*/ -import "C" |