The braindead idea to use letters instead of numbers for the
major version is only a recommendation, so ignore it.
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