mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix for compiling libpq++ on Solaris with Sun SPRO6U2.
Denis A Ustimenko
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1998, Regents of the University of California
|
# Copyright (c) 1998, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.55 2001/10/05 21:15:38 petere Exp $
|
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.56 2001/11/11 19:20:53 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ ifeq ($(PORTNAME), solaris)
|
|||||||
ifeq ($(with_gnu_ld), yes)
|
ifeq ($(with_gnu_ld), yes)
|
||||||
LINK.shared += -Wl,-soname,$(soname)
|
LINK.shared += -Wl,-soname,$(soname)
|
||||||
else
|
else
|
||||||
LINK.shared += -Wl,-h,$(soname)
|
LINK.shared += -h $(soname)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.7 2001/08/29 19:14:40 petere Exp $
|
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.8 2001/11/11 19:20:53 momjian Exp $
|
||||||
|
|
||||||
AROPT = crs
|
AROPT = crs
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ ifeq ($(with_gnu_ld), yes)
|
|||||||
export_dynamic = -Wl,-E
|
export_dynamic = -Wl,-E
|
||||||
rpath = -Wl,-rpath,$(libdir)
|
rpath = -Wl,-rpath,$(libdir)
|
||||||
else
|
else
|
||||||
rpath = -Wl,-R$(libdir)
|
rpath = -R$(libdir)
|
||||||
endif
|
endif
|
||||||
shlib_symbolic = -Wl,-Bsymbolic
|
shlib_symbolic = -Wl,-Bsymbolic
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user