From d89e2528cf2ca693b17f08b4afe9e645004c152c Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 13 May 2004 00:57:34 +0000 Subject: [PATCH] * shlib.conf (*-*-linux*): Use GNU linker's --retain-symbols-file option to implement export list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16328 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/ChangeLog | 5 +++++ src/config/shlib.conf | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/config/ChangeLog b/src/config/ChangeLog index d0796888b..015aad6a4 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2004-05-12 Ken Raeburn + + * shlib.conf (*-*-linux*): Use GNU linker's --retain-symbols-file + option to implement export list. + 2004-05-05 Ken Raeburn * libobj.in (OBJS.ST, OBJS.SH, OBJS.PF): Depend on Makefile. diff --git a/src/config/shlib.conf b/src/config/shlib.conf index a69040270..5d0729281 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -311,8 +311,8 @@ 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$(LIB)$(SHLIBSEXT)' - # -Wl,--retain-symbols-file,$(SHLIB_EXPORT_FILE) + LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,lib$(LIB)$(SHLIBSEXT) -Wl,--retain-symbols-file,$(SHLIB_EXPORT_FILE)' + # LDCOMBINE_TAIL='' # For cases where we do have dependencies on other libraries # built in this tree... -- 2.26.2