unixware having FULL pathnames in DT_SONAME

Started by Larry Rosenmanalmost 23 years ago2 messagespatches
Jump to latest
#1Larry Rosenman
ler@lerctr.org

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
#2Bruce Momjian
bruce@momjian.us
In reply to: Larry Rosenman (#1)
Re: unixware having FULL pathnames in DT_SONAME

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)
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, 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