changed macOS to not use "-dead_strip_dylibs"

The macOS ld documentation states that option should not be used
when linking against a dylib which is required at runtime for some
indirect reason such as the dylib has an important initializer.
The libcustcalc appears to have such an initializer.
This commit is contained in:
Landon Curt Noll
2023-08-14 04:28:59 -07:00
parent e0df1646fc
commit 1e2d02e449
2 changed files with 9 additions and 3 deletions

View File

@@ -89,8 +89,7 @@ The following are the changes from calc version 2.14.3.1 to date:
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".
In particular, the linker is run with "-dead_strip".
The following are the changes from calc version 2.14.2.1 to 2.14.3.0: