Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 1a65e64cf0b803d8ce73aefe8fcc798c > files > 19

perl-5.16.3-1.2.mga3.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;