Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4552ddd

Browse files
committed
Fix for compiling libpq++ on Solaris with Sun SPRO6U2.
Denis A Ustimenko
1 parent ad511a3 commit 4552ddd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Makefile.shlib

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.55 2001/10/05 21:15:38 petere Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.56 2001/11/11 19:20:53 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -190,7 +190,7 @@ ifeq ($(PORTNAME), solaris)
190190
ifeq ($(with_gnu_ld), yes)
191191
LINK.shared += -Wl,-soname,$(soname)
192192
else
193-
LINK.shared += -Wl,-h,$(soname)
193+
LINK.shared += -h $(soname)
194194
endif
195195
endif
196196

src/makefiles/Makefile.solaris

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.7 2001/08/29 19:14:40 petere Exp $
1+
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.8 2001/11/11 19:20:53 momjian Exp $
22

33
AROPT = crs
44

55
ifeq ($(with_gnu_ld), yes)
66
export_dynamic = -Wl,-E
77
rpath = -Wl,-rpath,$(libdir)
88
else
9-
rpath = -Wl,-R$(libdir)
9+
rpath = -R$(libdir)
1010
endif
1111
shlib_symbolic = -Wl,-Bsymbolic
1212

0 commit comments

Comments
 (0)