From 39f6de078015e1224793413b5b6cde004638578b Mon Sep 17 00:00:00 2001 From: Wilfredo Sanchez Date: Fri, 5 May 2000 21:55:55 +0000 Subject: [PATCH] Finish up Darwin linker flags git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12231 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 4 ++++ src/aclocal.m4 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 4352eddae..d920206e7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -3,6 +3,10 @@ * config/pre.in: Set KRB5_INCDIR from @includedir@ so configure --includedir=foo works. + * aclocal.m4 (Darwin): Settle on LIBMAJOR as compat + version. Change "-dylib_foo=X" options to "-foo X", which actually + work. Specify -install_name path. + 2000-05-04 Wilfredo Sanchez * Makefile.in: kadmin server binaries install into SERVER_BINDIR diff --git a/src/aclocal.m4 b/src/aclocal.m4 index e1010dc6a..79c31b21c 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1274,7 +1274,7 @@ mips-*-netbsd*) SHLIBSEXT='.$(LIBMAJOR).dylib' SHLIB_EXPFLAGS='$(SHLIB_DIRS) $(SHLIB_EXPLIBS)' SHLIBEXT=.dylib - LDCOMBINE='$(CC) $(LDFLAGS) -undefined warning -dynamiclib -dylib_compatibility_version=0.1 -dylib_current_version=$(LIBMAJOR).$(LIBMINOR)' + LDCOMBINE='$(CC) $(LDFLAGS) -undefined warning -dynamiclib -compatibility_version $(LIBMAJOR) -current_version $(LIBMAJOR).$(LIBMINOR) -install_name "$(KRB5_LIBDIR)/lib$(LIB)$(SHLIBVEXT)"' CC_LINK_SHARED='$(CC) $(LDFLAGS) $(PROG_LIBPATH) -dynamic' CC_LINK_STATIC='$(CC) $(LDFLAGS) $(PROG_LIBPATH)' RUN_ENV='DYLD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export DYLD_LIBRARY_PATH;' -- 2.26.2