summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq
diff options
context:
space:
mode:
authorTom Lane1998-11-12 05:27:01 +0000
committerTom Lane1998-11-12 05:27:01 +0000
commitc7d9aca135b7af60f7e777df1ef99b19bd9e7348 (patch)
tree15dfd616d8f5d277fb263cb7c5dd23ad546821bd /src/interfaces/libpq
parent87225ca31d1212008c47f5085f5fd4d77431cb69 (diff)
Fix at least a few shared-library problems on Linux.
We have not seen the end of this issue :-(.
Diffstat (limited to 'src/interfaces/libpq')
-rw-r--r--src/interfaces/libpq/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/libpq/Makefile.in b/src/interfaces/libpq/Makefile.in
index cff9f428349..6d60876dd64 100644
--- a/src/interfaces/libpq/Makefile.in
+++ b/src/interfaces/libpq/Makefile.in
@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.40 1998/10/19 00:00:43 tgl Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.41 1998/11/12 05:27:01 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -34,6 +34,10 @@ ifdef MULTIBYTE
OBJS+= common.o wchar.o conv.o
endif
+# If crypt is a separate library, rather than part of libc,
+# make sure it gets included in shared libpq.
+SHLIB_LINK= $(findstring -lcrypt,$(LIBS))
+
# Shared library stuff, also default 'all' target
include $(SRCDIR)/Makefile.shlib