Skip to content
Snippets Groups Projects
Commit cd86869a authored by Tom Lane's avatar Tom Lane
Browse files

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
No related branches found
No related tags found
No related merge requests found
AROPT = crs AROPT = crs
export_dynamic = -Wl,-E 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 allow_nonpic_in_shlib = yes
DLSUFFIX = .so DLSUFFIX = .so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment