Explicitely add -lpthread to the linker command for the new sigaltstack threads.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29338 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2011-02-19 02:19:04 +00:00
parent 4307167ee7
commit 66643cff0c

1
tools/configure vendored
View file

@ -373,6 +373,7 @@ EOF
if [ -z "$ARG_THREAD_SUPPORT" ] || [ "$ARG_THREAD_SUPPORT" = "0" ]; then
if [ "$sigaltstack" = "0" ]; then
thread_support="HAVE_SIGALTSTACK_THREADS"
LDOPTS="$LDOPTS -lpthread" # pthread needed
echo "Selected sigaltstack threads"
elif [ "$fibers" = "0" ]; then
thread_support="HAVE_WIN32_FIBER_THREADS"