aboutsummaryrefslogtreecommitdiff
path: root/backup.go
diff options
context:
space:
mode:
authorStéphane Graber <stgraber@ubuntu.com>2015-03-11 15:18:10 -0400
committerStéphane Graber <stgraber@ubuntu.com>2015-03-11 16:19:50 -0400
commit3d6c6f934500002267363041852b31a7a4e32159 (patch)
tree5bece53f178b9895211893f90caeacb3c9368587 /backup.go
parentMerge pull request #178 from antoni/master (diff)
downloadgolite-3d6c6f934500002267363041852b31a7a4e32159.tar.gz
golite-3d6c6f934500002267363041852b31a7a4e32159.tar.xz
Rename sqlite3.{c,h} to sqlite3-binding.{c,h}
This fixes the problem where when building with gccgo, sqlite3.c is overwritten, leading to a build failure. An alternative would have been to move sqlite3*.{c,h} to a subdirectory, but that seems to confuse the linker a fair bit and would just swap one implementation-dependent issue for another. Closes #20 Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Diffstat (limited to 'backup.go')
-rw-r--r--backup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.go b/backup.go
index 270446a..3807c60 100644
--- a/backup.go
+++ b/backup.go
@@ -6,7 +6,7 @@
package sqlite3
/*
-#include <sqlite3.h>
+#include <sqlite3-binding.h>
#include <stdlib.h>
*/
import "C"