diff options
| author | Tom Lane | 1999-02-07 22:10:47 +0000 |
|---|---|---|
| committer | Tom Lane | 1999-02-07 22:10:47 +0000 |
| commit | 45ff93c4604437bed5a615d69b57dd31517f743d (patch) | |
| tree | 50091a91acbec996b6a1db537aafc33de53aced6 /src/pl | |
| parent | afd57dbb3a01e386bea3a302ae393206bde81547 (diff) | |
Include -lcrypt when needed to link libpgtcl.so and plpgsql.so
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plpgsql/src/Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/pl/plpgsql/src/Makefile.in b/src/pl/plpgsql/src/Makefile.in index 7b3379d5520..a38f5093a27 100644 --- a/src/pl/plpgsql/src/Makefile.in +++ b/src/pl/plpgsql/src/Makefile.in @@ -4,7 +4,7 @@ # Makefile for the plpgsql shared object # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.13 1999/01/17 06:19:53 momjian Exp $ +# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.14 1999/02/07 22:10:47 tgl Exp $ # #------------------------------------------------------------------------- @@ -24,11 +24,12 @@ LFLAGS+= -i -l OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o -ifeq ($(PORTNAME), win) SHLIB_LINK+= -L$(LIBPQDIR) -lpq -else -SHLIB_LINK= -L$(LIBPQDIR) -lpq -endif + +# If crypt is a separate library, rather than part of libc, it may need +# to be referenced separately to keep (broken) linkers happy. (This is +# braindead; users of libpq should not need to know what it depends on.) +SHLIB_LINK+= $(findstring -lcrypt,$(LIBS)) # Shared library stuff, also default 'all' target include $(SRCDIR)/Makefile.shlib |
