Commit f5d0c6ca authored by Bruce Momjian's avatar Bruce Momjian

Apparently, on some systems, ExtUtils::Embed and MakeMaker are slightly

broken, and its impossible to make a shared library when compiling with
both CCDLFLAGS and LDDLFAGS, you have to pick one or the other.

Alex Pilosov
parent 7aac048b
......@@ -29,8 +29,11 @@ EndOfMakefile
exit(0);
}
my $ldopts=ldopts();
$ldopts=~s/$Config{ccdlflags}//;
WriteMakefile( 'NAME' => 'plperl',
dynamic_lib => { 'OTHERLDFLAGS' => ldopts() } ,
dynamic_lib => { 'OTHERLDFLAGS' => $ldopts } ,
INC => "$ENV{EXTRA_INCLUDES}",
XS => { 'SPI.xs' => 'SPI.c' },
OBJECT => 'plperl.o eloglvl.o SPI.o',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment