Commit cd86869a authored by Tom Lane's avatar Tom Lane

On Linux, use --enable-new-dtags when specifying -rpath to linker.

This should allow LD_LIBRARY_PATH to work as desired.  Per trouble
report from Andy Colson.
parent 72ee6703
AROPT = crs
export_dynamic = -Wl,-E
rpath = -Wl,-rpath,'$(rpathdir)'
# Use --enable-new-dtags to generate DT_RUNPATH instead of DT_RPATH.
# This allows LD_LIBRARY_PATH to still work when needed.
rpath = -Wl,-rpath,'$(rpathdir)',--enable-new-dtags
allow_nonpic_in_shlib = yes
DLSUFFIX = .so
......
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