mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
fixed -dead_strip_dylibs for macOS, fixed macOS lib version numbers
Added Makefile variable ${VER} to holdthe calc major release version. The calc major release version is a 3 level version (x.y.z). Under macOS, the current version of both libcalc and libcustcalc are set to the current calc major release version. Under macOS, to reduce dependency chains, we remove functions and data that are unreachable by the entry point or exported symbols. In particular, the linker is run with "-dead_strip" and with "-dead_strip_dylibs".
This commit is contained in:
@@ -1301,10 +1301,14 @@ endif # ($(ALLOW_CUSTOM),-DCUSTOM)
|
||||
EXT=
|
||||
#EXT=.exe
|
||||
|
||||
# The default calc version
|
||||
# The calc version in the form of x.y.z.w
|
||||
#
|
||||
VERSION= 2.14.3.1
|
||||
|
||||
# The calc major version in the form of x.y.z
|
||||
#
|
||||
VER= 2.14.3
|
||||
|
||||
# Names of shared libraries with versions
|
||||
#
|
||||
LIB_EXT= .so
|
||||
|
Reference in New Issue
Block a user