]> git.tue.mpg.de Git - osl.git/commitdiff
Simply use the major version of the lib also on MacOS.
authorAndre Noll <maan@systemlinux.org>
Wed, 4 Jun 2008 13:41:17 +0000 (15:41 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 4 Jun 2008 13:41:17 +0000 (15:41 +0200)
The braindead idea to use letters instead of numbers for the
major version is only a recommendation, so ignore it.

Makefile

index 6350b8eccba228c2185f267c5b1158df6b6bc9ea..7204f88f535053b622048fbb1a0a2b0d80889674 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,10 +13,9 @@ ifeq ($(uname_s),Linux)
        dso_filename :=lib$(libname).so.$(major_version).$(minor_version).$(patchlevel_version)
 endif
 ifeq ($(uname_s),Darwin)
-       mac_major_version := $(shell expr 41 + $(major_version))
        dso_opts := -dynamiclib -current_version $(major_version).$(minor_version) \
                -compatibility_version $(major_version).$(minor_version) -fvisibility=hidden
-       dso_filename := lib$(libname).$(shell printf "\\x"$(mac_major_version).dylib)
+       dso_filename := lib$(libname).$(major_version)
 endif
 ifeq ($(uname_s),SunOS)
        dso_opts := --shared -z text -z defs