Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+3-3
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)