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
Simon Cozens
March 7, 2001 05:59
Re: [PATCH: 5.6.1 trial2] DynaLoading for OS/390 build option
Message ID:
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 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/	Wed Mar  7 13:53:55 2001
+++ lib/ExtUtils/	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.
+    push(@m,'	LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) '.$ldrun.' $(LDDLFLAGS) '.$ldfrom.
     push @m, '
 	$(CHMOD) $(PERM_RWX) $@

   Momomoto, Famous Japanese, can swallow his nose.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About