From feb455dcbf03851d19058af498ba78aae93c4974 Mon Sep 17 00:00:00 2001 From: Brad Thompson Date: Fri, 13 Aug 1999 23:18:54 +0000 Subject: [PATCH] Added MacOS X shared library support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11651 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index aca3d0bc7..b4e6b4abe 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1093,6 +1093,19 @@ mips-*-netbsd*) PROFFLAGS=-pg ;; +*-*-macos10*) + PICFLAGS=-fno-common + SHLIBVEXT='.$(LIBMAJOR).$(LIBMINOR).dylib' + SHLIBSEXT='.$(LIBMAJOR).dylib' + SHLIB_EXPFLAGS='$(SHLIB_DIRS) $(SHLIB_EXPLIBS)' + SHLIBEXT=.dylib + SHOBJEXT=.so + LDCOMBINE='cc -dynamiclib -dylib_compatibility_version=$(LIBMAJOR).$(LIBMINOR) -dylib_current_version=$(LIBMAJOR).$(LIBMINOR)' + CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -dynamic' + CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) -static' + RUN_ENV='DYLD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export DYLD_LIBRARY_PATH;' + ;; + *-*-solaris*) if test "$krb5_cv_prog_gcc" = yes; then PICFLAGS=-fpic -- 2.26.2