aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-07-09 20:48:48 +0000
committerKen Raeburn <raeburn@mit.edu>2008-07-09 20:48:48 +0000
commit0dc930bacc7cd744b5841560f8c55992e386b8e8 (patch)
tree3b5cc948202554f155988dbf954d28ef5ab10a3c /src/config
parent4fee842bd66150d7fdf4fdb057ebad2854963df5 (diff)
downloadkrb5-0dc930bacc7cd744b5841560f8c55992e386b8e8.zip
krb5-0dc930bacc7cd744b5841560f8c55992e386b8e8.tar.gz
krb5-0dc930bacc7cd744b5841560f8c55992e386b8e8.tar.bz2
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.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/shlib.conf b/src/config/shlib.conf
index 80c4d8c..95f669c 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