# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.67 2003/03/21 17:18:34 petere Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.68 2003/09/10 03:56:33 momjian Exp $
#
#-------------------------------------------------------------------------
else
LINK.shared = $(CC) -G
endif
- LINK.shared += -Wl,-z,text -Wl,-h,$(soname)
+ LINK.shared += -Wl,-z,text -Wl,-h,$(libdir)/$(soname)
endif
ifeq ($(PORTNAME), cygwin)