Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79a831e

Browse files
committed
Tweak HPUX shared-library build flags, per Shinji Teragaito.
1 parent8a65780 commit79a831e

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)

[8]ページ先頭

©2009-2025 Movatter.jp