From d6820a3f2b80ced62d5b67640fb21d81e325297d Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Fri, 8 Aug 2003 14:41:37 +0000 Subject: [PATCH] updates makedefs and makerules for Mac OSX submitted by Bob Kuehne --- Make/makedefs | 5 +++-- Make/makerules | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Make/makedefs b/Make/makedefs index 903032b2a..c5052c001 100644 --- a/Make/makedefs +++ b/Make/makedefs @@ -367,8 +367,9 @@ ifeq ($(OS),Darwin) QUICKTIME = -framework QuickTime $(CARBON_LIB) FREETYPE_INCLUDE = -I/sw/include/freetype2 TIFF_LIB = -ltiff - LIBVERSION = -dylib_current_version 0.9.3 - + LIBVERSION = -current_version $(VERSION) \ + -compatibility_version \ + $(VERSION_MAJOR).$(VERSION_MINOR).0 endif #### Cygwin/Mingw specific definitions diff --git a/Make/makerules b/Make/makerules index dbe7d07f9..c9016c5ac 100644 --- a/Make/makerules +++ b/Make/makerules @@ -66,7 +66,7 @@ $(EXEC): $(OBJS) ifeq ($(OS),Darwin) $(LIB): $(OBJS) - $(C++) $(LDFLAGS) -dynamiclib $(OBJS) $(LIBS) -o $@ + $(C++) $(LDFLAGS) $(LIBVERSION) -dynamiclib $(OBJS) $(LIBS) -o $@ $(PLUGIN): $(OBJS) $(C++) $(LDFLAGS) -bundle $(OBJS) $(LIBS) -o $@