summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPaperChalice <lgamma@163.com>2022-08-13 13:11:10 +0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-28 22:55:38 +0000
commitd53ad60d774176c5b057e2ed4d03a4658ee13690 (patch)
tree332ac9f16209f2a5596d22c55bec5fb5d73809a4 /configure.ac
parente2ee5aabe9f731b7231b0d4a5a21367d1aced6ed (diff)
configure.ac: drop dependency `pthread-stubs` on macOS
`libpthread.dylib` on macOS is an alias of `libSystem.B.dylib`, every program should link against `libSystem.B.dylib`.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f76a26e..a1c24be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ AC_SUBST(HTML_CHECK_RESULT)
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.15.1)
NEEDED="xau >= 0.99.2"
case $host_os in
-linux*) ;;
+linux*|darwin*) ;;
*) NEEDED="$NEEDED pthread-stubs" ;;
esac
PKG_CHECK_MODULES(NEEDED, $NEEDED)