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

from Johnny C. Lam <lamj@stat.cmu.edu> via D'Arcy
This commit is contained in:
Peter Eisentraut 2001-06-20 20:15:45 +00:00
parent e3cade2e29
commit 7fdd76cd08

View File

@ -3,7 +3,9 @@ AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
rpath = -Wl,-R$(libdir)
shlib_symbolic = -Wl,-Bsymbolic
shlib_symbolic = -Wl,-Bsymbolic -lc
else
rpath = -R$(libdir)
endif
DLSUFFIX = .so