nim c --passL:"-lpcap" -r ipk.nim
RunPutting flags after -r will pass those values to the compiled binary on execution.
nim c --passL:"-lpcap" -r ipk.nim
RunPutting flags after -r will pass those values to the compiled binary on execution.