diff options
Diffstat (limited to 'src/pl/plpython')
| -rw-r--r-- | src/pl/plpython/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index 25d7ffd505b..6acf3a6f4d4 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.12 2003/11/29 19:52:12 pgsql Exp $ +# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.13 2004/01/21 19:04:11 tgl Exp $ subdir = src/pl/plpython top_builddir = ../../.. @@ -32,7 +32,13 @@ include $(top_srcdir)/src/Makefile.shlib all: all-lib install: all installdirs +ifeq ($(enable_shared), yes) $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/plpython$(DLSUFFIX) +else + @echo "*****"; \ + echo "* PL/Python was not installed due to lack of shared library support."; \ + echo "*****" +endif installdirs: $(mkinstalldirs) $(DESTDIR)$(pkglibdir) |
