diff options
| author | Peter Eisentraut | 2000-10-23 21:44:12 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-10-23 21:44:12 +0000 |
| commit | 7b021ce17c4abe731a3a4c6cb5e23f13d6fd3f52 (patch) | |
| tree | 6cb59b5918e05e9fc04f1a86931cec3cfbae11aa /src/pl | |
| parent | bc083d3d90dd26b755a60c74d561f9dab5897d5c (diff) | |
Polish shared library build to reduce number of special hacks. In
particular, allow linking with arbitrary commands rather than only $(AR) or
$(LD), and treat C++ without hacks.
Add option to disable shared libraries. This takes the place of the
BSD_SHLIB variable. The regression test driver ignores the plpgsql test
if there are no shared libraries available.
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plpgsql/src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpgsql/src/Makefile b/src/pl/plpgsql/src/Makefile index 95848d13ebb..fb3a56ecd33 100644 --- a/src/pl/plpgsql/src/Makefile +++ b/src/pl/plpgsql/src/Makefile @@ -2,7 +2,7 @@ # # Makefile for the plpgsql shared object # -# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.8 2000/10/20 21:04:16 petere Exp $ +# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.9 2000/10/23 21:44:03 petere Exp $ # #------------------------------------------------------------------------- @@ -32,7 +32,7 @@ include $(top_srcdir)/src/Makefile.shlib # rule and do this instead: install: installdirs all -ifdef shlib +ifeq ($(enable_shared), yes) $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(libdir)/plpgsql$(DLSUFFIX) else @echo "*****"; \ |
