From 9ff6afb33c187fd992dd80e34bba30f118044b85 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 21 Aug 2009 13:17:31 +0200 Subject: [PATCH] MacOs Fixes. - Fix name of symbolic link used during installation. - Do not strip the installed library. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 703238b..fc134bf 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ ifeq ($(uname_s),Darwin) # Darwin has its own idea on version numbers: realname := lib$(libname).$(x).dylib soname := $(realname) - linkername := lib$(libname).so + linkername := lib$(libname).dylib # The minor version number is an incremental number using the format # X[.Y[.Z]]. To set the minor version number of a dynamic library, use # the gcc -current_version option. @@ -171,7 +171,7 @@ install: all $(MKDIR) $(libdir) $(includedir) $(mandir) $(bindir) $(RM) $(libdir)/$(linkername) $(LN) -s $(libdir)/$(soname) $(libdir)/$(linkername) - $(INSTALL) -s -m 755 $(realname) $(libdir) + $(INSTALL) -m 755 $(realname) $(libdir) $(INSTALL) -m 644 $(headers) $(includedir) $(INSTALL) -m 755 $(executables) $(bindir) $(INSTALL) -m 644 $(man_pages) $(mandir) -- 2.30.2