Skip to content

Commit 67746e1

Browse files
authored
Update README.md
Mention static linking being unsupported on windows
1 parent f302b30 commit 67746e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Add the driver with `go get github.com/neo4j/neo4j-go-driver/neo4j`
5656

5757
We provide `seabolt_static` build tag to support static linking against seabolt and its dependencies. You can just pass `--tags seabolt_static` to your `go` toolset (like `go build --tags seabolt_static`) for your project and the output will not have any runtime dependency to `seabolt` and `openssl`.
5858

59+
_**Static linking is currently not supported on Windows.**_
60+
5961
## Setting RPATH on Linux/MacOS
6062

6163
Both Linux and MacOS dynamic loader support `RPATH` entries into executables so that they can locate their dependent shared libraries based on those entries. To have a `RUNPATH` entry to be added to your executable, you can pass `-ldflags "-r $(pkg-config --variable=libdir seabolt17)"` to your `go` toolset (like `go build -ldflags "-r $(pkg-config --variable=libdir seabolt17)"`) and it will add an `RPATH` entry to your executable that points to the location where seabolt shared library resides.

0 commit comments

Comments
 (0)