MINGW-packages/mingw-w64-perl/014-no-description-in-def.patch
Jeremy Drake 7d7b7d8e4b perl: fix build on clang and arm64
utilize @Biswa96's patches from Perl/perl5#18879

fix ExtUtils-CBuilder for clang, by updating dll creation to this
century.

For now, punt on linker script and just disable it.  This may be an
issue if some perl module has a ton of input files/libraries.

copy clang runtime dlls in addition to gcc's during test, required for
taint test, as comment above test-prep-gcc rule indicates.
2021-07-19 18:40:07 -07:00

12 lines
454 B
Diff

--- build-x86_64-perl-5.32.1/makedef.pl.orig 2021-07-17 20:22:00.208254900 -0700
+++ build-x86_64-perl-5.32.1/makedef.pl 2021-07-17 20:22:17.880187400 -0700
@@ -1320,7 +1320,7 @@
print "LIBRARY $dll\n";
# The DESCRIPTION module definition file statement is not supported
# by VC7 onwards.
- if ($ARGS{CCTYPE} eq 'GCC') {
+ if (0 && $ARGS{CCTYPE} eq 'GCC') {
print "DESCRIPTION 'Perl interpreter'\n";
}
print "EXPORTS\n";