From 491ba5fc4fcc9546ad0aec647b03e73e5542a949 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 4 Jun 2008 15:41:17 +0200 Subject: [PATCH 1/1] 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. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.2