[Xcb-commit] libxcb: configure.ac

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 28 23:33:25 UTC 2022


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d53ad60d774176c5b057e2ed4d03a4658ee13690
Author: PaperChalice <lgamma at 163.com>
Date:   Sat Aug 13 13:11:10 2022 +0800

    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`.

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)


More information about the xcb-commit mailing list