further clarify that Msys2 is a fork of Cygwin

This commit is contained in:
Landon Curt Noll
2023-08-18 16:28:31 -07:00
parent 96f925bede
commit 7ad1448a1a
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
The following are the changes from calc version 2.14.3.5 to date:
As Msys2 is a fork of Cygwin, if the OSNAME is Msys, the Cygwin
target will be used. Thanks to GitHub user @iahung2 for the
pull request.
The following are the changes from calc version 2.14.3.4 to 2.14.3.5: The following are the changes from calc version 2.14.3.4 to 2.14.3.5:
Under macOS, to reduce dependency chains, we remove functions Under macOS, to reduce dependency chains, we remove functions

View File

@@ -271,7 +271,7 @@ The current list of targets in Makefile.target are:
- Apple macOS / Darwin target - Apple macOS / Darwin target
- FreeBSD target - FreeBSD target
- OpenBSD target - OpenBSD target
- Cygwin target - Cygwin target (as well as Msys2 / Msys OSNAME)
- simple target - simple target
- default target (when target is empty) - default target (when target is empty)

View File

@@ -99,12 +99,13 @@ endif # ($(target),Darwin)
# If you are using Cygwin with MinGW64 packages # If you are using Cygwin with MinGW64 packages
# then we will also need to use the Cygwin runtime enviroment # then we will also need to use the Cygwin runtime enviroment
# and the calc Cygwin make target. # and the calc Cygwin make target.
## #
ifeq ($(OSNAME),Cygwin) ifeq ($(OSNAME),Cygwin)
target:= Cygwin target:= Cygwin
endif # ($(OSNAME),Cygwin) endif # ($(OSNAME),Cygwin)
# MSYS2 (MSYS) is a fork of Cygwin # MSYS2 (MSYS) is a fork of Cygwin
#
ifeq ($(OSNAME),Msys) ifeq ($(OSNAME),Msys)
target:= Cygwin target:= Cygwin
endif # ($(OSNAME),Msys) endif # ($(OSNAME),Msys)