From: Bruce Momjian Date: Sun, 11 Nov 2001 19:20:53 +0000 (+0000) Subject: Fix for compiling libpq++ on Solaris with Sun SPRO6U2. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=8ef94eccb0ba602c0467782c695a4703d33c455c;p=users%2Fbernd%2Fpostgres.git Fix for compiling libpq++ on Solaris with Sun SPRO6U2. Denis A Ustimenko --- diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 9c9bae4b46..ade24be920 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -190,7 +190,7 @@ ifeq ($(PORTNAME), solaris) ifeq ($(with_gnu_ld), yes) LINK.shared += -Wl,-soname,$(soname) else - LINK.shared += -Wl,-h,$(soname) + LINK.shared += -h $(soname) endif endif diff --git a/src/makefiles/Makefile.solaris b/src/makefiles/Makefile.solaris index 8d3efda986..ac636a989c 100644 --- a/src/makefiles/Makefile.solaris +++ b/src/makefiles/Makefile.solaris @@ -6,7 +6,7 @@ ifeq ($(with_gnu_ld), yes) export_dynamic = -Wl,-E rpath = -Wl,-rpath,$(libdir) else -rpath = -Wl,-R$(libdir) +rpath = -R$(libdir) endif shlib_symbolic = -Wl,-Bsymbolic