From 7fdd76cd085072a4297d0b0f592393b93a40103a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 20 Jun 2001 20:15:45 +0000 Subject: [PATCH] -Bsymbolic requires -lc on NetBSD. Also add rpath for non-ELF. from Johnny C. Lam via D'Arcy --- src/makefiles/Makefile.netbsd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5