1
0

100-inline_c-no_compile_hack.patch 437 B

1234567891011
  1. --- a/lib/Inline/C.pm
  2. +++ b/lib/Inline/C.pm
  3. @@ -361,7 +361,7 @@ sub build {
  4. $o->call('write_XS', 'Build Glue 1');
  5. $o->call('write_Inline_headers', 'Build Glue 2');
  6. $o->call('write_Makefile_PL', 'Build Glue 3');
  7. - $o->call('compile', 'Build Compile');
  8. + $o->call('compile', 'Build Compile') unless $ENV{'_INLINE_C_NO_COMPILE_'};
  9. if (IS_WIN32) {
  10. $lockfh->release or die "releasemutex $file: $^E";
  11. }