develooper Front page | perl.perl5.porters | Postings from March 2001

Re: [PATCH: 5.6.1 trial2] DynaLoading for OS/390 build option

Thread Previous | Thread Next
From:
Simon Cozens
Date:
March 7, 2001 05:59
Subject:
Re: [PATCH: 5.6.1 trial2] DynaLoading for OS/390 build option
Message ID:
20010307135928.A21620@pembro26.pmb.ox.ac.uk
On Wed, Jan 31, 2001 at 06:18:11PM -0800, Peter Prymmer wrote:
> FWIW here is the patch that allows one to specify -Dusedl at
> Configure time for OS/390 (it required that _C89_CCMODE=1 be in my
> environment even with GNU make). 

One bit missing: 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.

--- lib/ExtUtils/MM_Unix.pm~	Wed Mar  7 13:53:55 2001
+++ lib/ExtUtils/MM_Unix.pm	Wed Mar  7 13:55:29 2001
@@ -1092,8 +1092,8 @@
     push(@m,'	$(RM_F) $@
 ');
 
-    push(@m,'	LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) -o $@ '.$ldrun.' $(LDDLFLAGS) '.$ldfrom.
-		' $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(EXPORT_LIST)');
+    push(@m,'	LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) '.$ldrun.' $(LDDLFLAGS) '.$ldfrom.
+		' $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(EXPORT_LIST)');
     push @m, '
 	$(CHMOD) $(PERM_RWX) $@
 ';

-- 
   Momomoto, Famous Japanese, can swallow his nose.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About