From e206524f4f5e8a5329d3cedca4d06bd3478c0732 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 21 Sep 2004 23:16:10 +0000 Subject: [PATCH] * shlib.conf (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Don't use the linker option --retain-symbols-file, it doesn't work for shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16774 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/ChangeLog | 6 ++++++ src/config/shlib.conf | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/config/ChangeLog b/src/config/ChangeLog index b38ba5593..1f3c31f5c 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,9 @@ +2004-09-21 Ken Raeburn + + * shlib.conf (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Don't use the + linker option --retain-symbols-file, it doesn't work for shared + libraries. + 2004-09-17 Tom Yu * pre.in (INSTALL_SCRIPT): New variable; use to install scripts, diff --git a/src/config/shlib.conf b/src/config/shlib.conf index b17d90077..d107dddb9 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -314,7 +314,7 @@ mips-*-netbsd*) SHLIBEXT=.so # Linux ld doesn't default to stuffing the SONAME field... # Use objdump -x to examine the fields of the library - LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,lib$(LIBBASE)$(SHLIBSEXT) -Wl,--retain-symbols-file,$(SHLIB_EXPORT_FILE)' + LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,lib$(LIBBASE)$(SHLIBSEXT)' # LDCOMBINE_TAIL='' # For cases where we do have dependencies on other libraries -- 2.26.2