mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-09 17:33:09 +00:00
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…
x
Reference in New Issue
Block a user