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

Commit1bf1597

Browse files
committed
Revert rpath-mangling patch. See discussion on -patches around Nov 29 for
the rationale.
1 parenta60f9db commit1bf1597

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

‎src/Makefile.global.in

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.157 2002/12/30 17:19:50 tgl Exp $
2+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.158 2003/01/05 13:45:47 petere Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -190,9 +190,6 @@ LIBS = @LIBS@
190190
LD = @LD@
191191
with_gnu_ld = @with_gnu_ld@
192192
ld_R_works = @ld_R_works@
193-
# Set trpath to a list of library paths included in LDFLAGS
194-
# These paths can be added to rpath in the port specific makefiles if needed.
195-
trpath =$(filter -L%,@LDFLAGS@)
196193
LDFLAGS = @LDFLAGS@
197194
LDREL = -r
198195
LDOUT = -o

‎src/makefiles/Makefile.unixware

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,9 @@ endif
77

88
ifeq ($(ld_R_works), yes)
99
ifeq ($(with_gnu_ld), yes)
10-
# Convert the list of library search paths into -rpath options
11-
# (i.e. "-LpathA -LpathB" -> ",-rpath,pathA,-rpath,pathB"), adding
12-
# the contents of LD_LIBRARY_PATH if it exists.
13-
tpath1=$(shell echo $(trpath) | sed -e 's/ *-L/,-rpath,/g')
14-
ifdef LD_LIBRARY_PATH
15-
tpath2 = ,-rpath,$(shell echo $(LD_LIBRARY_PATH) | sed -e 's/:/,-rpath,/g')
16-
endif
17-
rpath = -Wl,-rpath,$(libdir)$(tpath)$(tpath2)
10+
rpath = -Wl,-rpath,$(libdir)
1811
else
19-
# Convert the list of library search paths into a -R option path
20-
# (i.e. "-LpathA -LpathB" -> ":pathA:pathB"), adding the contents of
21-
# LD_LIBRARY_PATH if it exists.
22-
tpath1 = $(shell echo $(trpath) | sed -e 's/ *-L/:/g')
23-
ifdef LD_LIBRARY_PATH
24-
tpath2 = :$(LD_LIBRARY_PATH)
25-
endif
26-
rpath = -Wl,-R$(libdir)$(tpath1)$(tpath2)
12+
rpath = -Wl,-R$(libdir)
2713
endif
2814
endif
2915
shlib_symbolic = -Wl,-Bsymbolic

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp