Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 26504130ddf299539aa5f8afff3fc15f > files > 20

perl-5.20.1-8.mga5.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;