Fork github.com/mattn/go-sqlite3 with adjustment for go1.16.2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
222 B

  1. TARGET = custom_driver_name
  2. ifeq ($(OS),Windows_NT)
  3. TARGET := $(TARGET).exe
  4. endif
  5. all : $(TARGET)
  6. $(TARGET) : main.go
  7. go build -ldflags="-X 'github.com/mattn/go-sqlite3.driverName=my-sqlite3'"
  8. clean :
  9. rm -f $(TARGET)