From: Ken Raeburn Date: Thu, 13 May 2004 00:57:34 +0000 (+0000) Subject: * shlib.conf (*-*-linux*): Use GNU linker's --retain-symbols-file option to X-Git-Tag: krb5-1.4-beta1~419 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d89e2528cf2ca693b17f08b4afe9e645004c152c;p=krb5.git * 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 --- 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...