From: Simon Cozens Date: Wed, 7 Mar 2001 13:59:28 +0000 (+0000) Subject: Re: [PATCH: 5.6.1 trial2] DynaLoading for OS/390 build option X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=770fab92d753b1aa3cfd2d1bbafe0e666303a23a;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH: 5.6.1 trial2] DynaLoading for OS/390 build option Message-ID: <20010307135928.A21620@pembro26.pmb.ox.ac.uk> In order to allow MakeMaker to build correct Makefiles, you need to change the order of the arguments in MM_Unix.pm as well. (Unless you have C89_CCMODE set, but we're trying to be POSIXly correct) Thanks to Merijn Broeren for tracking this down. p4raw-id: //depot/perl@9067 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index e043b3c..0f441d0 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -1097,8 +1097,8 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists push(@m,' $(RM_F) $@ '); - push(@m,' LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) -o $@ '.$ldrun.' $(LDDLFLAGS) '.$ldfrom. - ' $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST)'); + push(@m,' LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) '.$ldrun.' $(LDDLFLAGS) '.$ldfrom. + ' $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST)'); push @m, ' $(CHMOD) $(PERM_RWX) $@ ';