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 != "":
|
when LibrocksbStaticArgs != "":
|
||||||
{.pragma: importrocks, importc, cdecl.}
|
{.pragma: importrocks, importc, cdecl.}
|
||||||
{.passL: LibrocksbStaticArgs.}
|
{.passL: LibrocksbStaticArgs.}
|
||||||
|
when defined(windows):
|
||||||
|
{.passL: "-lshlwapi -lrpcrt4".}
|
||||||
else:
|
else:
|
||||||
when shouldUseNativeLinking():
|
when shouldUseNativeLinking():
|
||||||
{.pragma: importrocks, importc, cdecl.}
|
{.pragma: importrocks, importc, cdecl.}
|
||||||
|
|
Loading…
Reference in New Issue