diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-05-13 00:57:34 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-05-13 00:57:34 +0000 |
| commit | d89e2528cf2ca693b17f08b4afe9e645004c152c (patch) | |
| tree | ef1629f83b007f67694bfd3264e270369517997d /src | |
| parent | 5c7c3dd5fdebcebfefa57be6f0b6574a1db654fd (diff) | |
| download | krb5-d89e2528cf2ca693b17f08b4afe9e645004c152c.tar.gz krb5-d89e2528cf2ca693b17f08b4afe9e645004c152c.tar.xz krb5-d89e2528cf2ca693b17f08b4afe9e645004c152c.zip | |
* 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
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 <raeburn@mit.edu> + + * shlib.conf (*-*-linux*): Use GNU linker's --retain-symbols-file + option to implement export list. + 2004-05-05 Ken Raeburn <raeburn@mit.edu> * 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... |
