Skip to content

Commit 9395ac9

Browse files
committed
fix/306
Add: -lpthread for ppc / ppc64 Issue: #306 [ci ckip]
1 parent 25ecb14 commit 9395ac9

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

sqlite3_ppc.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Copyright (C) 2014 Yasuhiro Matsumoto <[email protected]>.
2+
//
3+
// Use of this source code is governed by an MIT-style
4+
// license that can be found in the LICENSE file.
5+
6+
// +build !windows
7+
8+
package sqlite3
9+
10+
/*
11+
#cgo CFLAGS: -I.
12+
#cgo LDFLAGS: -ldl -lpthread
13+
*/
14+
import "C"

sqlite3_ppc64.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Copyright (C) 2014 Yasuhiro Matsumoto <[email protected]>.
2+
//
3+
// Use of this source code is governed by an MIT-style
4+
// license that can be found in the LICENSE file.
5+
6+
// +build !windows
7+
8+
package sqlite3
9+
10+
/*
11+
#cgo CFLAGS: -I.
12+
#cgo LDFLAGS: -ldl -lpthread
13+
*/
14+
import "C"

0 commit comments

Comments
 (0)