Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 94765a090e84aee67daa03f5bcb98b46 > files > 14

perl-5.10.0-21mdv2009.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;