blob: 6b6b57a45051d416977b3c40b95a3d2f16598cad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- postgresql-7.2/src/pl/plperl/Makefile.PL_orig 2002-02-15 16:59:00.000000000 +0100
+++ postgresql-7.2/src/pl/plperl/Makefile.PL 2002-02-15 16:59:23.000000000 +0100
@@ -3,36 +3,6 @@
use DynaLoader;
use Config;
-# On some platforms you can't build plperl unless libperl is a shared
-# library. (Actually, it would be enough if code in libperl.a is
-# compiled to be position-independent, but that is hard to check for
-# and seems pretty unlikely anyway.) On some platforms it doesn't
-# matter and they can pass in the --force flag to build anyway.
-# (Having a shared libperl is still a lot better for efficiency,
-# though.)
-
-if ($Config{'useshrplib'} ne 'true' && $ARGV[0] ne '--force') {
- open(OUT, ">Makefile") or die "Can't write Makefile: $!\n";
- print OUT <<'EndOfMakefile';
-# Dummy Makefile for use when we can't build plperl
-
-all:
- @echo ""; \
- echo "*** Cannot build PL/Perl because libperl is not a shared library." ; \
- echo "*** You might have to rebuild your Perl installation. Refer to"; \
- echo "*** the documentation for details."; \
- echo ""
-
-install:
-
-clean realclean:
- rm -f Makefile
-
-EndOfMakefile
- close(OUT);
- exit(0);
-}
-
my $ldopts=ldopts();
$ldopts=~s/$Config{ccdlflags}//;
|