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
This commit is contained in:
parent
7aac048b59
commit
f5d0c6cad5
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user