From: Ken Raeburn Date: Wed, 9 Jul 2008 20:48:48 +0000 (+0000) Subject: Use -dead_strip when linking dynamic libraries on Darwin X-Git-Tag: krb5-1.7-alpha1~608 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0dc930bacc7cd744b5841560f8c55992e386b8e8;p=krb5.git Use -dead_strip when linking dynamic libraries on Darwin git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20504 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/shlib.conf b/src/config/shlib.conf index 80c4d8ccc..95f669cf5 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