1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Complain loudly if XS cannot be compiled

This commit is contained in:
Alessandro Ranellucci
2013-11-11 16:40:48 +01:00
parent 3ac94bd6d8
commit 849e714147
+4 -1
View File
@@ -126,7 +126,10 @@ EOF
system './xs/Build', 'distclean';
}
}
system $cpanm, '--reinstall', './xs';
my $res = system $cpanm, '--reinstall', './xs';
if ($res != 0) {
die "The XS/C++ code failed to compile, aborting\n";
}
}
}