diff options
author | Ken Raeburn <raeburn@mit.edu> | 2008-07-09 20:48:48 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2008-07-09 20:48:48 +0000 |
commit | 0dc930bacc7cd744b5841560f8c55992e386b8e8 (patch) | |
tree | 3b5cc948202554f155988dbf954d28ef5ab10a3c /src/config | |
parent | 4fee842bd66150d7fdf4fdb057ebad2854963df5 (diff) | |
download | krb5-0dc930bacc7cd744b5841560f8c55992e386b8e8.tar.gz krb5-0dc930bacc7cd744b5841560f8c55992e386b8e8.tar.xz krb5-0dc930bacc7cd744b5841560f8c55992e386b8e8.zip |
Use -dead_strip when linking dynamic libraries on Darwin
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20504 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/shlib.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/shlib.conf b/src/config/shlib.conf index 80c4d8ccc9..95f669cf51 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -330,7 +330,7 @@ mips-*-netbsd*) SHLIBEXT=.dylib DYNOBJEXT=.so SHLIB_EXPORT_FILE_DEP=darwin.exports - LDCOMBINE='$(CC) -undefined error -dynamiclib -compatibility_version $(LIBMAJOR) -current_version $(LIBMAJOR).$(LIBMINOR) -install_name "$(KRB5_LIBDIR)/$(LIBPREFIX)$(LIBBASE)$(SHLIBVEXT)" $(CFLAGS) $(LDFLAGS)' + LDCOMBINE='$(CC) -undefined error -dead_strip -dynamiclib -compatibility_version $(LIBMAJOR) -current_version $(LIBMAJOR).$(LIBMINOR) -install_name "$(KRB5_LIBDIR)/$(LIBPREFIX)$(LIBBASE)$(SHLIBVEXT)" $(CFLAGS) $(LDFLAGS)' # The -dylib_file option tells the linker where to find indirect dependent # libraries, without adding them to the dependency list. We need this because # the direct dependent libraries contain the pathname where the indirect |