mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Always link against pthread when using autotools (resolves #1410)
Theoretically I could enable it on a case-by-case basis, but as of now glslang, physfs and the thread module all require pthread, so I might as well just always link it in.
This commit is contained in:
@@ -22,6 +22,9 @@ AC_DEFUN([ACLOVE_DEP_LIBM], [
|
||||
AC_DEFUN([ACLOVE_DEP_SDL2], [
|
||||
AM_PATH_SDL2([], [], [LOVE_MSG_ERROR([SDL 2])])])
|
||||
|
||||
AC_DEFUN([ACLOVE_DEP_PTHREAD], [
|
||||
AC_SEARCH_LIBS([pthread_create], [pthread], [], [LOVE_MSG_ERROR([the POSIX threads library])])])
|
||||
|
||||
# does not use pkg-config because of the FILE_OFFSET_BITS.. bit
|
||||
AC_DEFUN([ACLOVE_DEP_MPG123], [
|
||||
AC_SEARCH_LIBS([mpg123_open_feed], [mpg123], [],
|
||||
|
||||
Reference in New Issue
Block a user