Skip to content

Commit f5d0c6c

Browse files
committed
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
1 parent 7aac048 commit f5d0c6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pl/plperl/Makefile.PL

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ EndOfMakefile
2929
exit(0);
3030
}
3131

32+
my $ldopts=ldopts();
33+
$ldopts=~s/$Config{ccdlflags}//;
34+
3235
WriteMakefile( 'NAME' => 'plperl',
33-
dynamic_lib => { 'OTHERLDFLAGS' => ldopts() } ,
36+
dynamic_lib => { 'OTHERLDFLAGS' => $ldopts } ,
3437
INC => "$ENV{EXTRA_INCLUDES}",
3538
XS => { 'SPI.xs' => 'SPI.c' },
3639
OBJECT => 'plperl.o eloglvl.o SPI.o',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy