summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2025-11-19 09:37:42 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-11-19 09:42:50 +0900
commit0ca613b92bbe49632469852752e350fe20649a93 (patch)
tree4e4d3b0a2296d44809110c5e3c7b52c1b41e49d7
parent8b04fe8dd4b7f45084d11ca1c65cadb1512073e7 (diff)
gnu: zstd: Fix linking to pthread on the Hurd.
* gnu/packages/compression.scm (zstd) <#:make-flags> [hurd]: Add "PCMTLIB=-pthread". Change-Id: I0fb3ff872d223197ea86831917924e185ef2591c
-rw-r--r--gnu/packages/compression.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index ab2f595eb85..a7146cd1505 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1850,6 +1850,10 @@ or junctions, and always follows hard links.")
1850 ;; This isn't picked up correctly in the Makefiles. 1850 ;; This isn't picked up correctly in the Makefiles.
1851 "EXT=.exe") 1851 "EXT=.exe")
1852 '()) 1852 '())
1853 #$@(if (target-hurd?)
1854 ;; Uses symbols from pthread.
1855 `("PCMTLIB=-pthread")
1856 '())
1853 ;; Auto-detection is over-engineered and buggy. 1857 ;; Auto-detection is over-engineered and buggy.
1854 "PCLIBDIR=lib" 1858 "PCLIBDIR=lib"
1855 "PCINCDIR=include" 1859 "PCINCDIR=include"