Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 4c28fc3052a652da2553e831b24cbdf7 > files > 8

perl-5.8.8-12.2mdv2008.0.src.rpm

--- perl-5.8.1-RC4/ext/DynaLoader/hints/linux.pl.pix	2003-07-31 08:48:21.000000000 +0200
+++ perl-5.8.1-RC4/ext/DynaLoader/hints/linux.pl	2003-08-03 22:16:07.000000000 +0200
@@ -2,4 +2,7 @@
 # Some Linux releases like to hide their <nlist.h>
 $self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
 	if -f "/usr/include/libelf/nlist.h";
+# Some silly modules like mod_perl use DynaLoader.a in a shared
+# module, so add cccdlflags if we're going for a shared libperl
+$self->{CCFLAGS} = ($self->{CCFLAGS} || $Config{ccflags}) . " $Config{cccdlflags}" if $Config{'useshrplib'} eq 'true';
 1;
--- perl-5.8.1-RC4/Configure.pix	2003-08-03 22:02:09.000000000 +0200
+++ perl-5.8.1-RC4/Configure	2003-08-03 22:02:09.000000000 +0200
@@ -7508,7 +7508,7 @@
 			;;
 		*)  case "$osname" in
 	                darwin) dflt='none' ;;
-			svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
+			linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
 			*)	dflt='-fpic' ;;
 		    esac ;;
 	    esac ;;