projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aac048
)
Apparently, on some systems, ExtUtils::Embed and MakeMaker are slightly
author
Bruce Momjian
<bruce@momjian.us>
Wed, 20 Jun 2001 00:26:06 +0000
(
00:26
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 20 Jun 2001 00:26:06 +0000
(
00:26
+0000)
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
src/pl/plperl/Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/src/pl/plperl/Makefile.PL
b/src/pl/plperl/Makefile.PL
index 2d6ced9dc07becd40f78c891909bed3365f9d3b6..32d663a630183dd4dae543d578421b14d25e632a 100644
(file)
--- a/
src/pl/plperl/Makefile.PL
+++ b/
src/pl/plperl/Makefile.PL
@@
-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',