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:
parent
e2ee5aabe9
commit
d53ad60d77
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue