diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-06-20 20:15:45 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-06-20 20:15:45 +0000 |
commit | 7fdd76cd085072a4297d0b0f592393b93a40103a (patch) | |
tree | bd88d4cdb0c92b526b2bf3867cfc17da16004f60 /src | |
parent | e3cade2e295138aa4d3e87e32a72b48792979f7f (diff) |
-Bsymbolic requires -lc on NetBSD. Also add rpath for non-ELF.
from Johnny C. Lam <lamj@stat.cmu.edu> via D'Arcy
Diffstat (limited to 'src')
-rw-r--r-- | src/makefiles/Makefile.netbsd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.netbsd b/src/makefiles/Makefile.netbsd index 5cb80850587..bcba61732fb 100644 --- a/src/makefiles/Makefile.netbsd +++ b/src/makefiles/Makefile.netbsd @@ -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 |