From: Andre Noll Date: Wed, 4 Jun 2008 13:41:17 +0000 (+0200) Subject: Simply use the major version of the lib also on MacOS. X-Git-Tag: v0.1.0~88 X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=commitdiff_plain;h=491ba5fc4fcc9546ad0aec647b03e73e5542a949;hp=1106c6859585063b4ecca34e8fec7d0f3c65ef40 Simply use the major version of the lib also on MacOS. The braindead idea to use letters instead of numbers for the major version is only a recommendation, so ignore it. --- diff --git a/Makefile b/Makefile index 6350b8e..7204f88 100644 --- 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