mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
Add Windows support to pkg/sqlite Makefile.
This commit is contained in:
parent
7955e522db
commit
1365b6bbe3
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue