Fix for compiling libpq++ on Solaris with Sun SPRO6U2.
authorBruce Momjian <[email protected]>
Sun, 11 Nov 2001 19:20:53 +0000 (19:20 +0000)
committerBruce Momjian <[email protected]>
Sun, 11 Nov 2001 19:20:53 +0000 (19:20 +0000)
Denis A Ustimenko

src/Makefile.shlib
src/makefiles/Makefile.solaris

index 9c9bae4b466ff366448671bb95fbf8eae2d3c9a4..ade24be9204bb9bd6bc05002a20bdba2434f505c 100644 (file)
@@ -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                += -$(soname)
   endif
 endif
 
index 8d3efda9860a20ee83726bcb9e67a9a447baf506..ac636a989c5820572b6dfa39656b59c0373861a6 100644 (file)
@@ -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