Skip to content

Commit

Permalink
Finalizing 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Mar 27, 2024
1 parent 0db4040 commit 97353c4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,23 +158,27 @@ Control Panel tool or execute in a Command Prompt
set PKG_CONFIG_PATH=%PKG_CONFIG_PATH%;$HOME/liboqs-go/.config
```

### Linking statically against liboqs (excluding macOS/OS X platforms)
### Linking statically against liboqs - excluding macOS/OS X platforms

Replace `.config` with `.config-static` when setting the `PKG_CONFIG_PATH`
environment variable above. This assumes that you previously compiled and
installed the static version of liboqs, i.e., you did not pass
`-DBUILD_SHARED_LIBS=ON` to CMake when configuring liboqs above. Ensure that
you run `go clean -cache` before building or running.
`-DBUILD_SHARED_LIBS=ON` to CMake when configuring liboqs above.

### Linking statically against liboqs (macOS/OS X platforms)
**Important:** Ensure that you run `go clean -cache` before building or
running.

### Linking statically against liboqs - macOS/OS X platforms

The macOS/OS X linker does not allow choosing static vs dynamic linking when
both static and dynamic versions of a library are installed. In this case, the
dynamic version will always be chosen by the linker. Hence, to link statically
agains liboqs on macOS/OS X, make sure you have not installed the dynamic
version of liboqs anywhere on your system, and use the `.config` (not
`.config-static`) when setting the `PKG_CONFIG_PATH` environment variable.
Ensure that you run `go clean -cache` before building or running.

**Important:** Ensure that you run `go clean -cache` before building or
running.

### Run the examples

Expand Down

0 comments on commit 97353c4

Please sign in to comment.