]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix macos build 4076/head
authorYann Collet <cyan@fb.com>
Wed, 19 Jun 2024 03:21:25 +0000 (20:21 -0700)
committerYann Collet <cyan@fb.com>
Wed, 19 Jun 2024 03:24:00 +0000 (20:24 -0700)
weird: after replacing the UNAME line with an identical one,
it does work properly now(??).
Possibly a case of hidden special character?

.github/workflows/dev-long-tests.yml
lib/Makefile
lib/libzstd.mk

index cf73acac1acc1e8b7a4f6f0213b2f39d6e27aafd..82e893cb96a313ed264071b87a9af28708da670d 100644 (file)
@@ -31,12 +31,12 @@ jobs:
       run: make test
 
   # lasts ~26mn
-  make-test-osx:
+  make-test-macos:
     runs-on: macos-latest
     steps:
     - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
-    - name: OS-X test
-      run: make test # make -c lib all doesn't work because of the fact that it's not a tty
+    - name: make test on macos
+      run: make test
 
   # lasts ~24mn
   make-test-32bit:
index ccfdfedd66084c554e7e1f1b5442cf05328d99e9..020d2ff5dd1d1e1e135712c2de19ca924bb5d6ba 100644 (file)
@@ -298,14 +298,6 @@ PCLIBPREFIX := $(if $(findstring $(LIBDIR),$(PCLIBDIR)),,$${exec_prefix})
 PCEXEC_PREFIX := $(if $(HAS_EXPLICIT_EXEC_PREFIX),$(EXEC_PREFIX),$${prefix})
 
 
-ifneq ($(MT),)
-  PCLIB :=
-  PCMTLIB := $(LDFLAGS_DYNLIB)
-else
-  PCLIB := $(LDFLAGS_DYNLIB)
-endif
-
-
 ifneq ($(MT),)
   PCLIB :=
   PCMTLIB := $(LDFLAGS_DYNLIB)
index a2a965037267ccfa014f3f3acd2b792cc0f78e90..d89817f14b750036bbb6c39118b83c52ceb1b529 100644 (file)
@@ -206,7 +206,7 @@ endif
 endif
 CPPFLAGS  += -DZSTD_LEGACY_SUPPORT=$(ZSTD_LEGACY_SUPPORT)
 
-UNAME := $(shell sh -c 'MSYSTEM="MSYS" uname') 
+UNAME := $(shell sh -c 'MSYSTEM="MSYS" uname')
 
 ifndef BUILD_DIR
 ifeq ($(UNAME), Darwin)