# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.47 2001/03/10 23:15:20 tgl Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.48 2001/03/14 19:35:11 tgl Exp $
#
#-------------------------------------------------------------------------
ifeq ($(PORTNAME), hpux)
# HPUX doesn't believe in version numbers for shlibs
shlib := lib$(NAME)$(DLSUFFIX)
- LINK.shared = $(LD) -b +b $(libdir) -Bsymbolic
+ LINK.shared = $(LD) -b +b $(libdir)
endif
ifeq ($(PORTNAME), irix5)
# catch null pointer dereferences
LDFLAGS += -Wl,-z
+# set up appropriate options for shared library builds
export_dynamic = -Wl,-E
+shlib_symbolic = -Bsymbolic
INSTALL_SHLIB_OPTS = -m 555