unixware having FULL pathnames in DT_SONAME
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
Attachments:
unixware.shlib.patchapplication/octet-stream; name=unixware.shlib.patchDownload+1-1
Patch applied. Affects only Unixware. Thanks.
---------------------------------------------------------------------------
Larry Rosenman wrote:
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) endififeq ($(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, skipping... ]
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073