diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/aclocal.m4 | 7 |
2 files changed, 14 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b811d59c0..677b44cf6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -3,6 +3,17 @@ * config.guess, config.sub: Clean up Rhapsody and Mac OS X guesses. Use powerpc-apple-darwin1.x on Mac OS X. + * aclocal.m4: Clean up to Rhapsody/Darwin compile options: + - Set the compatibility version of libraries to 0.1 for now so + binaries don't blow up every time a new library version rolls + out. We can add a compat variable to the lib makefiles if we think + this is needed. + - Don't forget LDFLAGS in CC_LINK_* and LDCOMBINE macros. This is + probably a good idea for all platforms. We'll need it in Darwin + for building multi-architecture binaries. + - The default for SHOBJEXT works, so there is no need to define it + again. + 2000-04-18 Danilo Almeida <dalmeida@mit.edu> * Makefile.in (clean-windows): Actually clean gss-sample on Windows. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 24b62247b..e1010dc6a 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1274,10 +1274,9 @@ mips-*-netbsd*) SHLIBSEXT='.$(LIBMAJOR).dylib' SHLIB_EXPFLAGS='$(SHLIB_DIRS) $(SHLIB_EXPLIBS)' SHLIBEXT=.dylib - SHOBJEXT=.so - LDCOMBINE='cc -undefined warning -dynamiclib -dylib_compatibility_version=$(LIBMAJOR).$(LIBMINOR) -dylib_current_version=$(LIBMAJOR).$(LIBMINOR)' - CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -dynamic' - CC_LINK_STATIC='$(CC) $(PROG_LIBPATH)' + LDCOMBINE='$(CC) $(LDFLAGS) -undefined warning -dynamiclib -dylib_compatibility_version=0.1 -dylib_current_version=$(LIBMAJOR).$(LIBMINOR)' + 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;' ;; |
