Windows static lib: link required system libs (#30)
This commit is contained in:
parent
c381daf84f
commit
fb3f2c30b0
|
@ -104,6 +104,8 @@ rocksType rocksdb_checkpoint_t
|
|||
when LibrocksbStaticArgs != "":
|
||||
{.pragma: importrocks, importc, cdecl.}
|
||||
{.passL: LibrocksbStaticArgs.}
|
||||
when defined(windows):
|
||||
{.passL: "-lshlwapi -lrpcrt4".}
|
||||
else:
|
||||
when shouldUseNativeLinking():
|
||||
{.pragma: importrocks, importc, cdecl.}
|
||||
|
|
Loading…
Reference in New Issue