regroup list of OSes for install inside common variable

within lib/install_oses.mk.

fixes #4445
This commit is contained in:
Yann Collet
2025-07-28 11:33:22 -07:00
parent f9e26bb42b
commit 8bca04ba9f
5 changed files with 40 additions and 17 deletions
+4 -1
View File
@@ -144,10 +144,13 @@ clean:
$(Q)$(RM) -r lz4 cmakebuild mesonbuild install
@echo Cleaning completed
LIBZSTD_MK_DIR = $(ZSTDDIR)
include $(LIBZSTD_MK_DIR)/install_oses.mk # UNAME, INSTALL_OS_LIST
#------------------------------------------------------------------------------
# make install is validated only for Linux, macOS, Hurd and some BSD targets
#------------------------------------------------------------------------------
ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT% CYGWIN_NT% Haiku AIX,$(shell sh -c 'MSYSTEM="MSYS" uname') ))
ifneq (,$(filter $(INSTALL_OS_LIST),$(UNAME)))
HOST_OS = POSIX