fix crash in build.rs when installing from source on linux (#1760)

This commit is contained in:
Sam Vente 2022-02-11 12:43:55 +01:00 committed by Vincent Prouillet
parent a13279ea39
commit fd052252f7

View File

@ -29,5 +29,7 @@ fn main() {
{ {
return; return;
} }
if cfg!(windows){
generate_pe_header(); generate_pe_header();
} }
}