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"