Commit 0326dd76 authored by Bruce Momjian's avatar Bruce Momjian

There was an error in the gcc portion of the patch I sent you. Here is

the  fix.

Billy G. Allie
parent db286699
...@@ -12,7 +12,7 @@ ifeq ($(with_gnu_ld), yes) ...@@ -12,7 +12,7 @@ ifeq ($(with_gnu_ld), yes)
# the contents of LD_LIBRARY_PATH if it exists. # the contents of LD_LIBRARY_PATH if it exists.
tpath1=$(shell echo $(trpath) | sed -e 's/ *-L/,-rpath,/g') tpath1=$(shell echo $(trpath) | sed -e 's/ *-L/,-rpath,/g')
ifdef LD_LIBRARY_PATH ifdef LD_LIBRARY_PATH
tpath2 = ,-rpath,tpath+=$(shell echo $(LD_LIBRARY_PATH) | sed -e 's/:/,-rpath,/g') tpath2 = ,-rpath,$(shell echo $(LD_LIBRARY_PATH) | sed -e 's/:/,-rpath,/g')
endif endif
rpath = -Wl,-rpath,$(libdir)$(tpath)$(tpath2) rpath = -Wl,-rpath,$(libdir)$(tpath)$(tpath2)
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment