unixware having FULL pathnames in DT_SONAME - Mailing list pgsql-patches

From Larry Rosenman
Subject unixware having FULL pathnames in DT_SONAME
Date
Msg-id 119450000.1062274634@lerlaptop.lerctr.org
Whole thread Raw
Responses Re: unixware having FULL pathnames in DT_SONAME  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Here is a patch to make PostgreSQL use a full path in DT_SONAME for
UnixWare.

Please apply.

Index: src/Makefile.shlib
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/Makefile.shlib,v
retrieving revision 1.67
diff -u -r1.67 Makefile.shlib
--- src/Makefile.shlib    21 Mar 2003 17:18:34 -0000    1.67
+++ src/Makefile.shlib    30 Aug 2003 20:11:21 -0000
@@ -191,7 +191,7 @@
   else
     LINK.shared        = $(CC) -G
   endif
-  LINK.shared        += -Wl,-z,text -Wl,-h,$(soname)
+  LINK.shared        += -Wl,-z,text -Wl,-h,$(libdir)/$(soname)
 endif

 ifeq ($(PORTNAME), cygwin)


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

pgsql-patches by date:

Previous
From: Guillaume LELARGE
Date:
Subject: Re: NLS: French .po files updated
Next
From: Larry Rosenman
Date:
Subject: UnixWare patches placed on my www site