mattn/go-sqlite3

go build -tags "icu" error on drawin amd

labulakalia opened this issue · 2 comments

# golang.org/x/text/cases
../../../go/pkg/mod/golang.org/x/text@v0.3.7/cases/icu.go:22:10: fatal error: 'unicode/ucasemap.h' file not found
#include <unicode/ucasemap.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [build_darwin_lib] Error 2

Use the build tag sqlite_icu not icu. The latter unfortunately collides with a build tag from x/text, which causes the failure you are seeing.

@rittneje thanks, it is work