Change 13609 by jhi@alpha on 2001/12/11 00:59:31

        The BeOS linker seems to link the last seen symbol,
        not the first (so the symbols of op.o from libperl.so
        would get linked to miniperl instead of the symbols of
        opmini.o)-- use the same trick as for NeXT4 for linking
        miniperl.

Affected files ...

.... //depot/perl/Makefile.SH#216 edit

Differences ...

==== //depot/perl/Makefile.SH#216 (text) ====
Index: perl/Makefile.SH
--- perl/Makefile.SH.~1~        Mon Dec 10 18:15:06 2001
+++ perl/Makefile.SH    Mon Dec 10 18:15:06 2001
@@ -494,19 +494,19 @@
 !NO!SUBS!
 
        case "${osname}${osvers}" in
-       next4*)
+       aix*)
                $spitshell >>Makefile <<'!NO!SUBS!'
 miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
-       $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
+       $(CC) -o miniperl $(CLDFLAGS) \
+           `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
        $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
 !NO!SUBS!
                ;;
-       aix*)
+       beos*|next4*)
                $spitshell >>Makefile <<'!NO!SUBS!'
 miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
-       $(CC) -o miniperl $(CLDFLAGS) \
-           `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
+       $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
            miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
        $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
 !NO!SUBS!
End of Patch.

Reply via email to