diff --git a/Changes b/Changes index 17e31c9..fda6ac9 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,8 @@ Changes for Perl extension DBD-SQLite - Updated to SQLite 3.7.7.1 (DUNCAND) - Made util/getsqlite.pl work properly for SQLite 3.7.5+ (ISHIGAKI) - Cookbook: don't use globals (Yuriy Kaminskiy) + - Resolved #70135 and hopefully other mod_perl/CentOS issues like + #63873 and #47983, with a patch by MDOOTSON++ (ISHIGAKI) 1.33 Mon 20 May 2011 - Production release, no changes from 1.32_04 diff --git a/Makefile.PL b/Makefile.PL index 6a287d0..3d5064c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -249,6 +249,14 @@ my @CC_OPTIONS = ( ) : () ), ); +# RT #70135: These flags are valid only for gcc/g++ +if ($Config{cc} =~ /^g?cc/) { + push @CC_OPTIONS, + CCFLAGS => $Config{ccflags} . ' -Wl,-Bsymbolic', + LDFLAGS => $Config{ldflags} . ' -Wl,-Bsymbolic', + LDDLFLAGS => $Config{lddlflags} . ' -Wl,-Bsymbolic'; +} + ##################################################################### # Hand off to ExtUtils::MakeMaker