From f08fefa53a0bd1bb258c8aa8cdc46ef8306e462c Mon Sep 17 00:00:00 2001 From: Gert-Jan Timmer Date: Wed, 20 Jun 2018 16:37:11 +0200 Subject: [PATCH] fix/306 * ppc * ppc64 * ppc64le --- sqlite3_other.go | 3 +++ sqlite3_ppc.go | 14 -------------- sqlite3_ppc64.go | 14 -------------- 3 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 sqlite3_ppc.go delete mode 100644 sqlite3_ppc64.go 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 . -// -// 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 . -// -// 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"