Commit based upon d6442850bde61f0c3e7e2ae3247b4a856073c5e0
[librecmc/package-feed.git] / lang / perl / patches / 310-recompile-hack.patch
1 perl: Work around recompile failures
2
3 Apparently, recompiling/relinking fails under some circumstances. This
4 patch has been reported to work around that issue.
5
6 --- a/Makefile.SH
7 +++ b/Makefile.SH
8 @@ -818,7 +818,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI
9         true)
10                 $spitshell >>$Makefile <<'!NO!SUBS!'
11         rm -f $@
12 -       $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
13 +       $(CC) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
14  !NO!SUBS!
15                 case "$osname" in
16                 aix)