Use Go instead of C for regexp sqlite func

While less performant, this (for now) simplifies
compiling and building the project.
This commit is contained in:
David Stotijn
2020-10-31 15:19:17 +01:00
parent ad98dd7f01
commit c01f190fc8
6 changed files with 62 additions and 818 deletions

View File

@ -12,8 +12,7 @@ embed:
.PHONY: embed
build: embed
env CGO_ENABLED=1 CGO_CFLAGS="-DUSE_LIBSQLITE3" CGO_LDFLAGS="-Wl,-undefined,dynamic_lookup" \
go build -tags libsqlite3 ./cmd/hetty
env CGO_ENABLED=1 go build ./cmd/hetty
.PHONY: build
clean: