perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kh...@hyperreal.org
Subject cvs commit: modperl Makefile.PL
Date Wed, 07 Apr 1999 19:21:42 GMT
khera       99/04/07 12:21:42

  Modified:    .        Makefile.PL
  Log:
  If we're building mod_perl as a DSO using APACI, we need to provide a
  better definition of LDFLAGS_SHLIB_EXPORT since the one Perl needs
  specifies, for example, the location of the perl shared library.
  
  I think this is a generic solution.  If not, it can be limited on a
  per-os basis.  At least bsd/os 4.x needs this for a standard "gmake
  test" to pass easily.
  
  Revision  Changes    Path
  1.125     +5 -0      modperl/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.124
  retrieving revision 1.125
  diff -u -r1.124 -r1.125
  --- Makefile.PL	1999/04/07 18:24:09	1.124
  +++ Makefile.PL	1999/04/07 19:21:41	1.125
  @@ -1,3 +1,4 @@
  +#! /usr/local/bin/perl
   BEGIN { 
       $Is_Win32 = ($^O eq "MSWin32");
       if($Is_Win32) {
  @@ -885,6 +886,10 @@
   	    $cmd .= qq(CFLAGS="$PERL_EXTRA_CFLAGS" );
   	}    
   	
  +	if ($USE_DSO) {		# override apache's notion of this flag
  +	  $cmd .= qq(LDFLAGS_SHLIB_EXPORT="$Config{ccdlflags}" );
  +	}
  +
   	$cmd .= "./configure " .
   		  "--activate-module=src/modules/perl/libperl.a";
   
  
  
  

Mime
View raw message