Closed mati865 closed 4 years ago
Currently building with WINAPI_NO_BUNDLED_LIBRARIES fails with this error: lld: error: unable to find library -lwinapi_ntdll.
WINAPI_NO_BUNDLED_LIBRARIES
lld: error: unable to find library -lwinapi_ntdll
This PR fixes it by linking to system library in that case, similarly to wianpi: https://github.com/retep998/winapi-rs/blob/785f7f30a69c70687864ac650aebc123e942c1b3/build.rs#L494-L502
Thank you!
Currently building with
WINAPI_NO_BUNDLED_LIBRARIES
fails with this error:lld: error: unable to find library -lwinapi_ntdll
.This PR fixes it by linking to system library in that case, similarly to wianpi: https://github.com/retep998/winapi-rs/blob/785f7f30a69c70687864ac650aebc123e942c1b3/build.rs#L494-L502