mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
perl: Work around recompile failures
Apparently, recompiling/relinking fails under some circumstances. This patch has been reported to work around that issue. Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
16
lang/perl/patches/310-recompile-hack.patch
Normal file
16
lang/perl/patches/310-recompile-hack.patch
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
perl: Work around recompile failures
|
||||||
|
|
||||||
|
Apparently, recompiling/relinking fails under some circumstances. This
|
||||||
|
patch has been reported to work around that issue.
|
||||||
|
|
||||||
|
--- a/Makefile.SH
|
||||||
|
+++ b/Makefile.SH
|
||||||
|
@@ -818,7 +818,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI
|
||||||
|
true)
|
||||||
|
$spitshell >>$Makefile <<'!NO!SUBS!'
|
||||||
|
rm -f $@
|
||||||
|
- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
|
||||||
|
+ $(CC) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
|
||||||
|
!NO!SUBS!
|
||||||
|
case "$osname" in
|
||||||
|
aix)
|
||||||
Reference in New Issue
Block a user