0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-22 01:49:40 +00:00
Files
packages/lang/perl/perl-inline-c/patches/100-inline_c-no_compile_hack.patch
Josef Schlehofer e9f4aa38ef treewide: move all perl packages into its own folder
This makes it in sync with Python packages.
Python packages has its own place in /lang/python
Perl does not, so this fixes it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-07-06 16:21:08 +02:00

12 lines
437 B
Diff

--- 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";
}