]> git.tuebingen.mpg.de Git - osl.git/commitdiff
MacOs Fixes.
authorAndre Noll <maan@systemlinux.org>
Fri, 21 Aug 2009 11:17:31 +0000 (13:17 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 21 Aug 2009 11:17:31 +0000 (13:17 +0200)
- Fix name of symbolic link used during installation.
- Do not strip the installed library.

Makefile

index 703238b13a35b652b57d6e6f9e3fd029f5e8ae12..fc134bfed0a7059809cbbdfd7bf379b1a554d92a 100644 (file)
--- 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)