*** Makefile.in~	Thu Nov  5 18:08:26 1998
--- Makefile.in	Thu Nov  5 18:11:43 1998
***************
*** 34,39 ****
--- 34,43 ----
  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
  
