… | |
… | |
35 | # as not being an XS module. |
35 | # as not being an XS module. |
36 | patch ExtUtils/MM_Unix.pm mm_unix_pm ' |
36 | patch ExtUtils/MM_Unix.pm mm_unix_pm ' |
37 | /^sub staticmake/,/^}/ s/if (@{$self->{C}}) {/if (@{$self->{C}} or $self->{NAME} =~ m%^(Pango|Gtk2)$%) { # patched by staticperl/ |
37 | /^sub staticmake/,/^}/ s/if (@{$self->{C}}) {/if (@{$self->{C}} or $self->{NAME} =~ m%^(Pango|Gtk2)$%) { # patched by staticperl/ |
38 | ' |
38 | ' |
39 | |
39 | |
|
|
40 | # patch ExtUtils::Miniperl to always add DynaLoader |
|
|
41 | # this is required for dynamic loading in static perls, |
|
|
42 | # and static loading in dynamic perls, when rebuilding a new perl. |
|
|
43 | # Why this patch is necessray I don't understand. Yup. |
|
|
44 | patch ExtUtils/Miniperl.pm extutils_miniperl.pm ' |
|
|
45 | /^sub writemain/ a\ |
|
|
46 | push @_, canon("/","DynaLoader"); # patched by staticperl |
|
|
47 | ' |