Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4f8f12

Browse files
committed
Fix bit-rot in support for building with --disable-shared. This patch
gets us past 'make install', but initdb still fails for lack of conversionlibraries ...
1 parent1ef7c5c commita4f8f12

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

‎src/backend/utils/mb/conversion_procs/proc.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ all: all-shared-lib
1212
include$(top_srcdir)/src/Makefile.shlib
1313

1414
install: all
15+
ifeq ($(enable_shared), yes)
1516
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/$(NAME)$(DLSUFFIX)
17+
endif
1618

1719
uninstall:
1820
rm -f$(DESTDIR)$(pkglibdir)/$(NAME)$(DLSUFFIX)

‎src/pl/plperl/GNUmakefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for PL/Perl
2-
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.11 2003/11/29 19:52:12 pgsql Exp $
2+
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.12 2004/01/21 19:04:11 tgl Exp $
33

44
subdir = src/pl/plperl
55
top_builddir = ../../..
@@ -37,7 +37,13 @@ SPI.c: SPI.xs
3737
$(PERL)$(perl_privlibexp)/ExtUtils/xsubpp -typemap$(perl_privlibexp)/ExtUtils/typemap$<>$@
3838

3939
install: all installdirs
40+
ifeq ($(enable_shared), yes)
4041
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/plperl$(DLSUFFIX)
42+
else
43+
@echo "*****"; \
44+
echo "* PL/Perl was not installed due to lack of shared library support."; \
45+
echo "*****"
46+
endif
4147

4248
installdirs:
4349
$(mkinstalldirs)$(DESTDIR)$(pkglibdir)

‎src/pl/plpython/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.12 2003/11/29 19:52:12 pgsql Exp $
1+
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.13 2004/01/21 19:04:11 tgl Exp $
22

33
subdir = src/pl/plpython
44
top_builddir = ../../..
@@ -32,7 +32,13 @@ include $(top_srcdir)/src/Makefile.shlib
3232
all: all-lib
3333

3434
install: all installdirs
35+
ifeq ($(enable_shared), yes)
3536
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/plpython$(DLSUFFIX)
37+
else
38+
@echo "*****"; \
39+
echo "* PL/Python was not installed due to lack of shared library support."; \
40+
echo "*****"
41+
endif
3642

3743
installdirs:
3844
$(mkinstalldirs)$(DESTDIR)$(pkglibdir)

‎src/pl/tcl/Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for the pltcl shared object
44
#
5-
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.41 2003/11/29 19:52:13 pgsql Exp $
5+
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.42 2004/01/21 19:04:11 tgl Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -44,7 +44,13 @@ all: all-lib
4444
$(MAKE) -C modules$@
4545

4646
install: all installdirs
47+
ifeq ($(enable_shared), yes)
4748
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/$(NAME)$(DLSUFFIX)
49+
else
50+
@echo "*****"; \
51+
echo "* PL/Tcl was not installed due to lack of shared library support."; \
52+
echo "*****"
53+
endif
4854
$(MAKE) -C modules $@
4955

5056
installdirs:
@@ -60,7 +66,7 @@ else # TCL_SHARED_BUILD = 0
6066
# Provide dummy targets for the case where we can't build the shared library.
6167
all:
6268
@echo"*****";\
63-
echo"* Cannot buildpltcl because Tcl is not a shared library; skipping it.";\
69+
echo"* Cannot buildPL/Tcl because Tcl is not a shared library; skipping it.";\
6470
echo"*****"
6571

6672
endif# TCL_SHARED_BUILD = 0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp