File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- //go:build !(duckdb_use_lib || duckdb_from_source || duckdb_use_staticlib ) && (darwin || (linux && (amd64 || arm64)))
1
+ //go:build !(duckdb_use_lib || duckdb_use_static_lib ) && (darwin || (linux && (amd64 || arm64)))
2
2
3
3
package duckdb
4
4
5
5
/*
6
+ #cgo CPPFLAGS: -DDUCKDB_STATIC_BUILD
6
7
#cgo LDFLAGS: -lduckdb
7
8
#cgo darwin,amd64 LDFLAGS: -lc++ -L${SRCDIR}/deps/darwin_amd64
8
9
#cgo darwin,arm64 LDFLAGS: -lc++ -L${SRCDIR}/deps/darwin_arm64
9
10
#cgo linux,amd64 LDFLAGS: -lstdc++ -lm -ldl -L${SRCDIR}/deps/linux_amd64
10
11
#cgo linux,arm64 LDFLAGS: -lstdc++ -lm -ldl -L${SRCDIR}/deps/linux_arm64
12
+ #cgo windows,amd64 LDFLAGS: -lws2_32 -lwsock32 -lrstrtmgr -lstdc++ -lm --static -L${SRCDIR}/deps/windows_amd64
11
13
#cgo freebsd,amd64 LDFLAGS: -lstdc++ -lm -ldl -L${SRCDIR}/deps/freebsd_amd64
12
14
#include <duckdb.h>
13
15
*/
Original file line number Diff line number Diff line change 1
- //go:build duckdb_use_staticlib
1
+ //go:build duckdb_use_static_lib
2
2
3
3
package duckdb
4
4
You can’t perform that action at this time.
0 commit comments