marcboeker / go-duckdb

go-duckdb provides a database/sql driver for the DuckDB database engine.
MIT License
623 stars 97 forks source link

Update the Makefile to use `make bundle-library` and fix missing includes for 0.10.0 #163

Closed taniabogatsch closed 6 months ago

taniabogatsch commented 6 months ago

As mentioned in https://github.com/marcboeker/go-duckdb/issues/158, moving to DuckDB 0.10.0 requires manually including stdlib.h, as it is no longer included in duckdb.h.

Additionally, this PR updates the Makefile to simplify deploying/compiling custom versions of DuckDB by changing DUCKDB_REPO and DUCKDB_BRANCH. It also introduces the usage of make bundle-library to create a static library libduckdb_bundle.a.