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`.
This commit is contained in:
PaperChalice 2022-08-13 13:11:10 +08:00 committed by Alan Coopersmith
parent e2ee5aabe9
commit d53ad60d77

View File

@ -53,7 +53,7 @@ AC_SUBST(HTML_CHECK_RESULT)
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.15.1) PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.15.1)
NEEDED="xau >= 0.99.2" NEEDED="xau >= 0.99.2"
case $host_os in case $host_os in
linux*) ;; linux*|darwin*) ;;
*) NEEDED="$NEEDED pthread-stubs" ;; *) NEEDED="$NEEDED pthread-stubs" ;;
esac esac
PKG_CHECK_MODULES(NEEDED, $NEEDED) PKG_CHECK_MODULES(NEEDED, $NEEDED)