summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/sqlite/generator.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2021-09-08 21:26:32 +0100
committerLibravatar GitHub <noreply@github.com>2021-09-08 21:26:32 +0100
commita027da0ac9b6aa10fe26a7a0c5eea35859b1c270 (patch)
tree23b954a01a64f2751b3f774052c296fcaa8068e3 /vendor/modernc.org/sqlite/generator.go
parentMerge pull request #196 from NyaaaWhatsUpDoc/update/oauth-library (diff)
parentMerge remote-tracking branch 'upstream/main' into update/sqlite-library (diff)
downloadgotosocial-a027da0ac9b6aa10fe26a7a0c5eea35859b1c270.tar.xz
Merge pull request #198 from NyaaaWhatsUpDoc/update/sqlite-library
Update/sqlite library
Diffstat (limited to 'vendor/modernc.org/sqlite/generator.go')
-rw-r--r--vendor/modernc.org/sqlite/generator.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/modernc.org/sqlite/generator.go b/vendor/modernc.org/sqlite/generator.go
index 745ae3313..36b89a401 100644
--- a/vendor/modernc.org/sqlite/generator.go
+++ b/vendor/modernc.org/sqlite/generator.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build generator
// +build generator
package main
@@ -398,7 +399,7 @@ func main() {
configTest = append(configTest, "-DSQLITE_MUTEX_NOOP")
}
switch goos {
- case "linux":
+ case "linux", "freebsd":
configProduction = append(configProduction, "-DSQLITE_OS_UNIX=1")
case "darwin":
configProduction = append(configProduction,
@@ -446,7 +447,7 @@ func configure(goos, goarch string) {
cmd.Run()
var args []string
switch goos {
- case "linux":
+ case "linux", "freebsd":
// nop
case "darwin":
args = append(args, "--with-tcl=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tcl.framework")