mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
fixed install of statically linked calc under macOS
Improved .gitignore to ignore .static, calc-static, sample_many-static and sample_rand-static. Improved error messages when trying to compile with with one calc type (when BLD_TYPE=calc-dynamic-only or BLD_TYPE=calc-static-only) and install with the other. When installing with BLD_TYPE=calc-static-only, the installed calc and calc-static are links to each other. Thanks to GitHub user @urtleWilly for this suggestion. The dynamic shared libraries are not installed if they are not built. So when installing with BLD_TYPE=calc-static-only, the install rule will not attempt to install dynamic shared libraries. Thanks to GitHub user @urtleWilly for bringing to our attention, problems related to building a statically linked calc under macOS.
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -6,12 +6,14 @@
|
||||
#
|
||||
.dynamic
|
||||
.hsrc
|
||||
.static
|
||||
Makefile.our
|
||||
NOTES
|
||||
align32.h
|
||||
args.h
|
||||
cal/.all
|
||||
calc
|
||||
calc-static
|
||||
calc.1
|
||||
calc.usage
|
||||
calcerr.c
|
||||
@@ -99,7 +101,9 @@ libcustcalc*
|
||||
longbits
|
||||
longbits.h
|
||||
sample_many
|
||||
sample_many-static
|
||||
sample_rand
|
||||
sample_rand-static
|
||||
tags
|
||||
terminal.h
|
||||
ver_calc
|
||||
|
Reference in New Issue
Block a user