Commit 7fdd76cd authored by Peter Eisentraut's avatar Peter Eisentraut

-Bsymbolic requires -lc on NetBSD. Also add rpath for non-ELF.

from Johnny C. Lam <lamj@stat.cmu.edu> via D'Arcy
parent e3cade2e
...@@ -3,7 +3,9 @@ AROPT = cr ...@@ -3,7 +3,9 @@ AROPT = cr
ifdef ELF_SYSTEM ifdef ELF_SYSTEM
export_dynamic = -Wl,-E export_dynamic = -Wl,-E
rpath = -Wl,-R$(libdir) rpath = -Wl,-R$(libdir)
shlib_symbolic = -Wl,-Bsymbolic shlib_symbolic = -Wl,-Bsymbolic -lc
else
rpath = -R$(libdir)
endif endif
DLSUFFIX = .so 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