From: Wilfredo Sanchez Date: Fri, 5 May 2000 21:55:55 +0000 (+0000) Subject: Finish up Darwin linker flags X-Git-Tag: krb5-1.3-alpha1~2121 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=39f6de078015e1224793413b5b6cde004638578b;p=krb5.git Finish up Darwin linker flags git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12231 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;'