Skip to content

Commit 79a831e

Browse files
committed
Tweak HPUX shared-library build flags, per Shinji Teragaito.
1 parent 8a65780 commit 79a831e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Makefile.shlib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.78 2004/09/02 23:06:43 tgl Exp $
9+
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.79 2004/10/08 04:22:59 tgl Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -149,10 +149,10 @@ endif
149149
ifeq ($(PORTNAME), hpux)
150150
shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
151151
ifeq ($(GCC), yes)
152-
SHLIB_LINK += `$(CC) -print-libgcc-file-name`
152+
SHLIB_LINK += `$(CC) $(LDFLAGS) -print-libgcc-file-name`
153153
endif
154154
ifeq ($(with_gnu_ld), yes)
155-
LINK.shared = $(CC) $(LDFLAGS) -shared -Wl,-h -Wl,$(soname)
155+
LINK.shared = $(CC) $(LDFLAGS) -shared -Wl,-h -Wl,$(soname) -Wl,+b -Wl,$(libdir)
156156
else
157157
LINK.shared = $(LD) +h $(soname) -b +b $(libdir)
158158
endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy