Add Windows support to pkg/sqlite Makefile.

This commit is contained in:
Mikkel Krautz 2011-05-16 22:13:19 +02:00
parent 7955e522db
commit 1365b6bbe3

View file

@ -7,10 +7,17 @@ include $(GOROOT)/src/Make.inc
TARG=sqlite
CGOFILES=sqlite.go
ifneq ($(SQLITE),dll)
CGO_OFILES=sqlite3.o
endif
ifeq ($(GOOS),linux)
CGO_LDFLAGS=-lpthread -ldl
endif
ifeq ($(GOOS),windows)
CGO_LDFLAGS=-Lc:/sqlite -lsqlite3
endif
include $(GOROOT)/src/Make.pkg