Apply -lpthread withou windows.

systemlib
Yasuhiro Matsumoto 2015-03-12 18:43:55 +09:00
parent 1b67b9f03b
commit 308067797b
3 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,6 @@ package sqlite3
#cgo CFLAGS: -std=gnu99
#cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE
#cgo CFLAGS: -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS
#cgo LDFLAGS: -lpthread
#include <sqlite3-binding.h>
#include <stdlib.h>
#include <string.h>

View File

@ -9,6 +9,6 @@ package sqlite3
/*
#cgo CFLAGS: -I.
#cgo linux LDFLAGS: -ldl
#cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE
#cgo LDFLAGS: -lpthread
*/
import "C"

View File

@ -2,6 +2,7 @@
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
// +build windows
package sqlite3