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:
parent
4307167ee7
commit
66643cff0c
1 changed files with 1 additions and 0 deletions
1
tools/configure
vendored
1
tools/configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue