aboutsummaryrefslogtreecommitdiff
path: root/lang/perl-inline-c/patches/100-inline_c-no_compile_hack.patch
blob: b001c206f701837c7cd7504bc672afe7a83f317a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/Inline/C.pm
+++ b/lib/Inline/C.pm
@@ -380,7 +380,7 @@ sub build {
     $o->call('write_XS', 'Build Glue 1');
     $o->call('write_Inline_headers', 'Build Glue 2');
     $o->call('write_Makefile_PL', 'Build Glue 3');
-    $o->call('compile', 'Build Compile');
+    $o->call('compile', 'Build Compile') unless $ENV{'_INLINE_C_NO_COMPILE_'};
     if (IS_WIN32) {
         $lockfh->release or die "releasemutex $file: $^E";
     }