From 0dc930bacc7cd744b5841560f8c55992e386b8e8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 9 Jul 2008 20:48:48 +0000 Subject: [PATCH] Use -dead_strip when linking dynamic libraries on Darwin git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20504 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/shlib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2