mirror of https://github.com/waku-org/nwaku.git
fix: use `when` instead of `if` for adding soname on linux (#2721)
This commit is contained in:
parent
4a6ec468db
commit
cbaefeb3ea
|
@ -2,7 +2,7 @@
|
|||
{.pragma: callback, cdecl, raises: [], gcsafe.}
|
||||
{.passc: "-fPIC".}
|
||||
|
||||
if defined(linux):
|
||||
when defined(linux):
|
||||
{.passl: "-Wl,-soname,libwaku.so".}
|
||||
|
||||
import std/[json, sequtils, atomics, times, strformat, options, atomics, strutils, os]
|
||||
|
|
Loading…
Reference in New Issue